/* ===========================================
Learnify REGISTRATION FORM STYLES (register.css)
Unique styles for the multi-field registration form.
=========================================== */

.form-container {
    width: 480px; /* Specific width for the registration form */
    /* Override for alignment if necessary, but handled by forms.css body now */
}

/* Registration Form Layout */
.registration-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
}
.form-row {
    display: flex;
    gap: 0.8rem;
}
.form-row > .input-group {
    flex: 1; /* Makes the two input groups share the row space */
}

/* Password Toggle Specifics */
.password-group,
.password-wrapper {
    width: 100%;
}
.password-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}
.password-wrapper input {
    width: 100%;
    padding-right: 1.8rem;
    box-sizing: border-box;
}
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    font-size: 1rem;
    transition: color 0.3s;
}
.toggle-password:hover {
    color: #14b8a6;
}

/* Select element icon and date input filter */
select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200l5%207%205-7H0z%22%20fill%3D%22%23f8fafc%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 10px 7px;
    padding-right: 2rem;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Honeypot field (hidden) */
.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}
.hidden-field.test-mode { /* If you need to test the honeypot */
    position: relative;
    left: 0;
    width: 200px;
    height: 30px;
    opacity: 1;
    background-color: #fff;
    color: #000;
    border: 2px solid yellow;
}

/* Media Query for forms */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column; /* Stack fields vertically on small screens */
        gap: 0;
    }
}