.cox-ui .cox-ui-input:where(:not([type="hidden"], [type="checkbox"], [type="radio"])) {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--cox-brand-border);
    border-radius: var(--cox-radius-control);
    background: var(--cox-surface-field);
    color: var(--cox-brand-white);
    font: 500 14px/1.4 var(--cox-brand-body);
    letter-spacing: 0;
    box-shadow: none;
}

.cox-ui .cox-ui-input:focus-visible {
    outline: 2px solid var(--cox-brand-focus);
    outline-offset: 2px;
}

.cox-ui .cox-ui-input::placeholder { color: var(--cox-brand-muted); opacity: 1; }
.cox-ui .cox-ui-input:disabled { opacity: .55; cursor: not-allowed; }
.cox-ui select.cox-ui-input option { background: #10131a; color: #fff; }
.cox-ui textarea.cox-ui-input { min-height: 100px; resize: vertical; }
.cox-ui .cox-ui-input[readonly] { color: var(--cox-brand-muted); cursor: default; }
.cox-ui .cox-ui-input[aria-invalid="true"] { border-color: var(--cox-feedback-error-border); }

.cox-ui :where(.cox-method-card, .cox-mission-card, .cox-day, .cox-referral-choice) input:focus-visible + span {
    outline: 2px solid var(--cox-brand-white);
    outline-offset: 3px;
}
.cox-ui :where(.cox-academic-radio-row label, .cox-academic-student-choice):has(input:focus-visible) {
    outline: 2px solid var(--cox-brand-white);
    outline-offset: 3px;
}

.cox-modal-field .cox-password-wrap input {
    min-height: 42px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 10px 12px;
}

.cox-access-choice input,
.cox-module-notify input,
.cox-teacher-check input,
.cox-terms-check input,
.cox-academic-student-choice input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    accent-color: var(--cox-brand-red);
}

.cox-modal-field small,
.cox-teacher-field small {
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.cox-ui :where(.cox-student-input, .cox-teacher-input) input.cox-ui-input {
    min-height: 50px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    font-size: 15px;
    font-weight: 600;
}

.cox-teacher-field > span {
    display: block;
    color: var(--cox-brand-red);
    font-family: var(--cox-brand-heading);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.cox-day input,
.cox-referral-choice input,
.cox-academic-radio-row input,
.cox-method-card input,
.cox-mission-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cox-modal-field,
.cox-teacher-field,
.cox-teacher-attendance-form label {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: var(--cox-space-field);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 900;
}

.cox-modal-field-full,
.cox-teacher-field-full {
    grid-column: 1 / -1;
}

.cox-password-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    min-width: 0;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.cox-password-wrap:hover {
    border-color: rgba(237, 28, 36, .42);
    box-shadow: none;
}

.cox-password-wrap:focus-within {
    border-color: rgba(237, 28, 36, .42);
    box-shadow: 0 0 0 3px rgba(237, 28, 36, .08);
}

.cox-student-input,
.cox-teacher-input {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    padding: 0 13px;
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.cox-student-input:focus-within,
.cox-teacher-input:focus-within {
    border-color: rgba(237, 28, 36, .78);
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .12);
}

.cox-student-input > .dashicons,
.cox-teacher-input > .dashicons {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, .58);
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 560px) {

    .cox-student-input {
        grid-template-columns: 24px minmax(0, 1fr) auto;
        min-height: 54px;
    }
}
