@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&display=swap');

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kantumruy Pro", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f5f5;
    color: #000;
    padding: 20px;
}

/* ========== Container ========== */
.container {
    width: 100%;
    max-width: 450px;
}

/* ========== Form Box ========== */
.form-box {
    width: 100%;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ========== Typography ========== */
h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* ========== Form Elements ========== */
input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    outline: none;
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    background-color: #fff;
    border-color: #7494ec;
    box-shadow: 0 0 0 3px rgba(116, 148, 236, 0.1);
}

input::placeholder {
    color: #999;
}

/* ========== Show Password Container ========== */
.show-password-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.show-password-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #7494ec;
}

.show-password-container label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

/* ========== Button ========== */
button {
    width: 100%;
    padding: 14px;
    background-color: #7494ec;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover {
    background-color: #6884d3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(116, 148, 236, 0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(116, 148, 236, 0.2);
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ========== Error Message ========== */
.error-message {
    padding: 14px 18px;
    background-color: #f8d7da;
    border-left: 4px solid #d32f2f;
    border-radius: 6px;
    font-size: 14px;
    color: #721c24;
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ========== Responsive Design ========== */
@media (max-width: 480px) {
    .form-box {
        padding: 30px 20px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    input[type="email"],
    input[type="password"],
    input[type="text"],
    button {
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .form-box {
        padding: 25px 15px;
    }
    
    h2 {
        font-size: 24px;
    }
}