* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    /* background-color: #f5f5f0; */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

.container {
    width: 100%;
    max-width: 448px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Back Button */
.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    width: 40px;
    height: 40px;
    padding: 6px 12.125px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 9999px;
    border: 0 solid #E5E7EB;
    background: #F5F5F5;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    color: #000;
    z-index: 100;
}

.back-button:hover {
    background-color: #E5E7EB;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.logo-img {
    max-width: 240px;
    height: 95px;
}

/* Login Card */
.login-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 14px 20px 20px rgba(0, 0, 0, 0.1);
    padding: 33px;
    width: 100%;
}

.welcome-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin-bottom: 8px;
}

.welcome-subtitle {
    font-size: 16px;
    color: #4B5563;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 500;
}

/* Form */
.login-form {
    width: 100%;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.form-input {
    width: 100%;
    height: 50px;
    padding: 12px 45px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 14px;
    color: #000;
    outline: none;
    transition: border-color 0.3s;
}

.form-input::placeholder {
    color: #ADAEBC;
        font-size: 16px;
    font-weight:400;
}

.form-input:focus {
    border-color: #ccc;
    background-color: #fff;
}

.form-input.error {
    border-color: #EF4444;
    background-color: #fff;
}

.form-input.error:focus {
    border-color: #EF4444;
}

.input-icon {
    position: absolute;
    right: 15px;
    fill: #ADAEBC;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.eye-icon {
    cursor: pointer;
    pointer-events: all;
}

.forgot-password {
    text-align: right;
    margin-top: 24px;
}

.forgot-link {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: #000;
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px 20px;
    background-color: #FFD700;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #FFC700;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-secondary {
    width: 100%;
    padding: 14px 20px;
    background-color: #f5f5f5;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #eeeeee;
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* Separator */
.separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0;
}

.separator-line {
    flex: 1;
    height: 1px;
    background-color: #f5f5f5;
}

.separator-text {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

/* Footer */
.footer {
    margin-top: 30px;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.5;
}

.footer-link {
    color: #FFD300;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-link:hover {
    color: #FF9500;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 25px;
    }

    .welcome-title {
        font-size: 22px;
    }
}
