/* Text inputs across the site, matching the Administrator Login fields: soft blue fill, rounded corners,
   a blue ring when selected. Colour, border and corners only; sizes and positions are untouched.
   Loaded last on each page with text inputs; remove the <link> to revert a page. */

input.textInput,
.textEntry,
input.optionEntry,
.feedback-email-input,
.feedback-textarea,
.admin-settings-subject-input,
.session-review-start-banner-time-input {
    border: 1px solid rgba(10, 61, 145, 0.14) !important;
    border-radius: 0.9rem !important;
    background: #f1f6fe !important;
    color: rgb(10, 61, 145) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

/* Small fields inside paper and student rows */
input.optionEntry,
.admin-settings-subject-input {
    border-radius: 0.65rem !important;
}

input.textInput::placeholder,
.textEntry::placeholder,
input.optionEntry::placeholder,
.feedback-email-input::placeholder,
.feedback-textarea::placeholder,
.admin-settings-subject-input::placeholder {
    color: rgba(10, 61, 145, 0.55) !important;
}

input.textInput:hover,
.textEntry:hover,
input.optionEntry:hover,
.feedback-email-input:hover,
.feedback-textarea:hover,
.admin-settings-subject-input:hover,
.session-review-start-banner-time-input:hover {
    border-color: rgba(10, 61, 145, 0.3) !important;
    box-shadow: none !important;
    transform: none !important;
}

input.textInput:focus,
.textEntry:focus,
.textEntry[aria-expanded="true"],
input.optionEntry:focus,
.feedback-email-input:focus,
.feedback-textarea:focus,
.admin-settings-subject-input:focus,
.session-review-start-banner-time-input:focus {
    background: #fff !important;
    border-color: #0a55c4 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(10, 85, 196, 0.18) !important;
    transform: none !important;
}

/* Read-only fields such as the session Code stay visibly locked, with no ring */
.textEntry[readonly],
.textEntry[readonly]:hover,
.textEntry[readonly]:focus {
    background: #e2edfb !important;
    border-color: transparent !important;
    box-shadow: none !important;
    cursor: default;
}

.textEntry:disabled,
input.optionEntry:disabled,
.feedback-email-input:disabled,
.feedback-textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Session Review: Code, Room and Current Time are read-only values, so they match the locked Code field */
.session-review-start-banner-value,
.session-review-page .session-review-start-banner-value:hover {
    border: 1px solid transparent !important;
    border-radius: 0.9rem !important;
    background: #e2edfb !important;
    color: rgb(10, 61, 145) !important;
    box-shadow: none !important;
    transform: none !important;
}
