/* ====== General Reset ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f5f7fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ====== Login Wrapper ====== */
.login-wrapper {
    display: flex;
    width: 90%;
    max-width: 1000px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 500px;
}

/* ====== Left Info Panel ====== */
.register-info {
    flex: 1;
    background: #4f46e5;
    color: #fff;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-info h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.register-info p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.register-info .info-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
}

/* ====== Right Login Card ====== */
.login-card {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card h2 {
    margin-bottom: 25px;
    font-size: 24px;
    color: #111827;
}

/* ====== Input Groups ====== */
.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #4f46e5;
    outline: none;
}

/* ====== Toggle Password ====== */
.input-group .toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 13px;
    color: #4f46e5;
    user-select: none;
}

/* ====== Hidden Class ====== */
.hidden {
    display: none;
}

/* ====== Buttons ====== */
.input-group button {
    width: 100%;
    padding: 12px;
    background: #4f46e5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.input-group button:hover {
    background: #3730a3;
}

/* ====== Forgot Links ====== */
.forgot-links {
    font-size: 13px;
    margin-top: 5px;
    text-align: center;
}

.forgot-links a {
    color: #4f46e5;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

.forgot-links a:hover {
    color: #3730a3;
}

/* ====== Terms Checkbox ====== */
.terms label {
    font-size: 13px;
    display: flex;
    align-items: center;
}

.terms input[type="checkbox"] {
    margin-right: 8px;
    width: 14px;
    height: 14px;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        max-width: 400px;
    }

    .register-info {
        padding: 30px 20px;
        text-align: center;
    }

    .login-card {
        padding: 30px 20px;
    }
}

/* ===== BUTTON LOADER ===== */