@import url('https://fonts.googleapis.com/css2?family=Padauk:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Padauk', 'Pyidaungsu', sans-serif;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-box {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 420px;
    border-top: 6px solid #2b6cb0;
    transition: transform 0.3s ease;
}

.auth-box:hover {
    transform: translateY(-2px);
}

h2 {
    text-align: center;
    color: #1a365d;
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 14px;
    color: #4a5568;
}

/* Input Wrapper & Icons Style */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #a0aec0;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 42px; /* ဘယ်ဘက် icon အတွက် padding ချန်ထားခြင်း */
    border: 1.5px solid #cbd5e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

/* Password သီးသန့် padding ချိန်ညှိခြင်း */
.input-wrapper.password-wrapper input {
    padding-right: 42px;
}

.input-wrapper input:focus {
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper input:focus ~ .input-icon {
    color: #2b6cb0;
}

/* Password Eye Toggle Icon */
.toggle-password {
    position: absolute;
    right: 14px;
    cursor: pointer;
    color: #a0aec0;
    font-size: 16px;
    user-select: none;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #2b6cb0;
}

.btn {
    background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
    color: white;
    padding: 12px;
    border: none;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 10px;
    transition: background 0.3s, transform 0.1s;
}

.btn:hover {
    background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%);
}

.btn:active {
    transform: scale(0.98);
}

.error {
    background: #fed7d7;
    color: #9b2c2c;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    text-align: center;
    border-left: 4px solid #e53e3e;
}

.link-text {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
    color: #718096;
}

.link-text a {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: bold;
}

.link-text a:hover {
    text-decoration: underline;
}

/* Mobile Devices အတွက် သီးသန့် ချိန်ညှိချက် */
@media (max-width: 480px) {
    .auth-box {
        padding: 25px 20px; /* ဖုန်းမှာ ပတ်လည် Margin/Padding ကျဉ်းပေးခြင်း */
        margin: 15px;       /* ဘေးဘောင်မကပ်စေရန် မာဂျင်ခြားခြင်း */
    }

    h2 {
        font-size: 20px;     /* ခေါင်းစဉ် စာလုံးဆိုဒ် အနည်းငယ် လျှော့ခြင်း */
    }

    .btn {
        padding: 10px;      /* ခလုတ်ဆိုဒ် အဆင်ပြေအောင် ချိန်ခြင်း */
    }
}