/* style-light.css - Light Theme Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0; /* Remove default margin */
    padding: 20px; /* Add padding back */
    background-color: #f8f9fa;
    color: #343a40;
    transition: background-color 0.3s, color 0.3s;
}

h1 {
    text-align: center;
    color: #343a40;
    margin-bottom: 30px;
}

#themeToggleBtn {
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #e9ecef;
    color: #495057;
}
#themeToggleBtn:hover {
    background-color: #dee2e6;
}


/* --- Search and Selection Area --- */
.controls-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    color: #343a40; /* Ensure text color contrasts */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
    transition: background-color 0.3s, border-color 0.3s;
}

.search-container {
    margin-bottom: 15px;
    position: relative;
}

.search-container input[type="text"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    color: #495057;
}

.suggestions {
    position: absolute;
    top: 100%; left: 0; right: 0;
    border: 1px solid #ced4da; border-top: none;
    background: #fff;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 15px;
    color: #343a40; /* Text color for suggestions */
}

.suggestion-item:hover {
    background-color: #e9ecef;
}

.tense-selector {
    margin-bottom: 15px;
    text-align: center;
}

.tense-selector label {
    margin-right: 8px;
    font-weight: bold;
    color: #495057;
}

.tense-selector select {
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    min-width: 250px;
    background-color: #fff;
    color: #495057;
}

optgroup {
    font-weight: bold;
    font-style: italic;
    color: #495057;
}

option {
    padding-left: 10px;
    background-color: #fff; /* Ensure options are white */
    color: #495057;
}

.selected-verbs-container {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    background: #f8f9fa;
    min-height: 40px;
    color: #495057; /* Text color for "Selected:" */
}

.selected-verbs-container strong {
    color: #495057;
    margin-right: 8px;
}

/* --- Light Theme Button Styles --- */
.selected-verbs-container span.verb-tag {
    margin-right: 8px; margin-bottom: 5px; display: inline-block; cursor: pointer;
    background: #007bff; /* Standard Blue */
    color: white;
    padding: 6px 12px; border-radius: 15px; font-size: 14px; transition: background-color 0.2s ease; border: none;
}
.selected-verbs-container span.verb-tag:hover { background: #0056b3; text-decoration: line-through; }

.clear-button {
    cursor: pointer; color: white;
    background: #dc3545; /* Standard Red */
    border: none; padding: 8px 15px; border-radius: 4px; font-size: 14px; float: right; margin-top: -5px; transition: background-color 0.2s ease;
}
.clear-button:hover { background: #c82333; }

button.check-single {
    background-color: #ffc107; /* Standard Yellow */
    color: #212529; border: none; padding: 8px 10px; font-size: 14px; min-width: 60px; border-radius: 4px; flex-shrink: 0; cursor: pointer; transition: background-color 0.2s ease;
}
button.check-single:hover { background-color: #e0a800; }

button.check-all-button {
   background-color: #17a2b8; /* Standard Teal */
   color: white; border:none; border-radius: 4px; display: block; margin: 20px auto 5px auto; padding: 10px 20px; font-size: 15px; cursor: pointer; transition: background-color 0.2s ease;
}
button.check-all-button:hover { background-color: #138496; }
/* --- End Light Theme Button Styles --- */


/* --- Test Area --- */
#testContainer {
    max-width: 800px;
    margin: 20px auto;
}

.verb-section {
    background-color: #fff;
    color: #343a40; /* Ensure text color contrasts */
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
    transition: background-color 0.3s, border-color 0.3s;
}

.verb-section h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    color: #007bff; /* Match tag color */
    font-size: 1.4em;
}

.person-container {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    transition: border-color 0.3s;
}
.person-container:last-child { border-bottom: none; padding-bottom: 5px; }

.person-container span:first-child { /* Pronoun */
    min-width: 70px; text-align: right; font-weight: bold;
    color: #495057; flex-shrink: 0;
}

.person-container input[type="text"] {
    flex-grow: 1; margin-bottom: 0; padding: 10px;
    border: 1px solid #ced4da; border-radius: 4px;
    background-color: #fff; /* Explicit background */
    color: #495057; /* Explicit text color */
}

.feedback {
    font-size: 14px; font-weight: bold; min-width: 160px; text-align: left; padding-left: 10px; flex-shrink: 0;
}

.feedback.correct { color: #28a745; } /* Standard Green */
.feedback.incorrect { color: #dc3545; } /* Standard Red */

#urlInfo { font-size: 0.9em; color: #6c757d; margin-bottom: 15px; text-align: center; }
#noTenseMessage { text-align: center; padding: 20px; color: #6c757d; font-style: italic; }

.clear-button + div { clear: both; } /* Ensure div clears float */