body {
    background-color: #f3f4f6;
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.login-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 48px 40px;
    width: 100%;
    max-width: 450px; /* ~370px width form + 80px padding */
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.login-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a6a8a9;
    text-decoration: none;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.login-close-btn:hover {
    background: #f3f4f6;
    color: #212529;
}

.login-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.login-logo-container img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.login-title {
    color: #212529;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.login-form-group {
    margin-bottom: 16px;
}

.login-label {
    display: block;
    color: #212529;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 4px;
    letter-spacing: 0.1px;
}

.login-input-wrapper {
    position: relative;
}

.login-input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #d1d5dc;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 24px;
    color: #212529;
    transition: all 0.2s;
}

.login-input:focus {
    outline: none;
    border-color: #7f22fe;
    box-shadow: 0 0 0 3px rgba(127, 34, 254, 0.1);
}

.login-input::placeholder {
    color: #a6a8a9;
    letter-spacing: 0.5px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #a6a8a9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #4d5154;
}

.login-btn-primary {
    background: linear-gradient(85.5785deg, rgb(127, 34, 254) 0%, rgb(93, 14, 192) 100%);
    border-radius: 999px;
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 10px 16px;
    width: 100%;
    margin-top: 8px;
    letter-spacing: 0.15px;
    transition: all 0.2s;
}

.login-btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(127, 34, 254, 0.3);
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e5e7eb;
    z-index: 1;
}

.login-divider-text {
    background: #FFFFFF;
    padding: 0 8px;
    color: #4d5154;
    font-size: 14px;
    line-height: 20px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.25px;
}

.login-btn-outline {
    background: #FFFFFF;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #212529;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 8px 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    letter-spacing: 0.15px;
    transition: all 0.2s;
}

.login-btn-outline:hover {
    background: #f9fafb;
    color: #212529;
    border-color: #d1d5dc;
}
