/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
.auth-body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: linear-gradient(120deg, #fdfbfb, #ebedee);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTAINER */
.auth-container {
    width: 900px;
    height: 520px;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

/* LEFT */
.auth-left {
    flex: 1;
    padding: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-left h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.auth-left p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* RIGHT */
.auth-right {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

/* INPUT */
.auth-input {
    position: relative;
    margin-bottom: 18px;
}

.auth-input i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
}

.auth-input input {
    width: 100%;
    height: 50px;
    padding-left: 45px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.3s;
}

.auth-input input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
}

/* BUTTON */
.auth-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-weight: 500;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.auth-btn:hover {
    opacity: 0.9;
}

/* FOOTER */
.auth-footer {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

.auth-footer a {
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
}

/* ERROR */
.auth-alert {
    background: #ffecec;
    color: #d8000c;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 15px;
}

.error-text {
    font-size: 12px;
    color: #d8000c;
    margin-bottom: 10px;
    display: block;
}
.auth-success {
    background: #e6f9f0;
    color: #1e7e34;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 15px;
    border-left: 4px solid #28a745;
}
/* RESPONSIVE */
@media (max-width: 900px) {
    .auth-container {
        width: 90%;
        height: auto;
        flex-direction: column;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 40px;
    }
}
