/* CONTAINER */
.ilat-auth-container {
    max-width: 420px;
    margin: 70px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

/* CARD */
.ilat-auth-card {
    width: 100%;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e9e9e9;
    animation: fadeIn 0.35s ease;
    font-family: "Inter", sans-serif !important;
}

/* HEADING */
.ilat-auth-card h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 25px;
}

/* FIELD */
.ilat-field {
    margin-bottom: 18px;
}

.ilat-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}

.ilat-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.25s ease;
    background: #fafafa;
}

.ilat-field input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
    background: #fff;
}

/* CHECKBOX */
.ilat-checkbox-row {
    margin-bottom: 20px;
    font-size: 14px;
    color: #333;
}

.ilat-checkbox-row input {
    margin-right: 6px;
}

/* BUTTON */
.ilat-btn-primary {
    width: 100%;
    padding: 12px;
    background: #0d6efd;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

.ilat-btn-primary:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
}

/* MESSAGE BOX */
.ilat-auth-message {
    display: none;
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.ilat-auth-message.success {
    background: #e7f9e7;
    color: #2e7d32;
    border-left: 3px solid #2e7d32;
}

.ilat-auth-message.error {
    background: #fde8e8;
    color: #c62828;
    border-left: 3px solid #c62828;
}

/* SWITCH TEXT */
.ilat-switch-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.ilat-switch-text a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.ilat-switch-text a:hover {
    text-decoration: underline;
}

/* ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* FINAL OVERRIDE LAYER */
.ilat-auth-container input,
.ilat-auth-container button,
.ilat-auth-container label,
.ilat-auth-container h2,
.ilat-auth-container * {
    all: revert;
    font-family: "Inter", Arial, sans-serif !important;
}

.ilat-auth-container input {
    all: unset;
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.ilat-auth-container button {
    all: unset;
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #3b7bff, #004de6);
    color: #fff;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
}
