:root {
    --ms-blue: #0067b8;
    --ms-blue-hover: #005da6;
    --text-primary: #1b1b1b;
    --text-secondary: #666666;
    --border-color: #666666;
    --border-focus: #0067b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "Helvetica Neue", "Lucida Grande", Roboto, Ebrima, "Nirmala UI", Gadugi, "Segoe Xbox Symbol", "Segoe UI Symbol", sans-serif;
}

body, html {
    height: 100%;
    background-color: #f3f3f3;
}

/* Approximate the colorful blurred gradient background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, #f9e1e1 0%, transparent 40%),
                radial-gradient(circle at 90% 10%, #e2f0e2 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, #e1eaf9 0%, transparent 40%),
                radial-gradient(circle at 80% 90%, #f9f5e1 0%, transparent 40%);
    background-color: #eef2f5;
    filter: blur(60px);
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.brand-title {
    font-size: 34px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 24px;
}

.login-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 440px;
    padding: 44px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.microsoft-logo {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.logo-text {
    font-size: 21px;
    font-weight: 600;
    color: #737373;
}

.user-identity {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
    font-style: italic;
}

.login-form {
    display: flex;
    flex-direction: column;
}

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

.password-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
    font-size: 15px;
    color: var(--text-primary);
    background-color: transparent;
    outline: none;
}

.password-input::placeholder {
    color: var(--text-secondary);
}

.password-input:focus {
    border-bottom: 2px solid var(--border-focus);
    padding-bottom: 5px; /* Adjust for thicker border */
}

.links-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    margin-top: 16px;
}

.form-link {
    color: var(--ms-blue);
    text-decoration: none;
    font-size: 13px;
}

.form-link:hover {
    text-decoration: underline;
}

.button-group {
    display: flex;
    justify-content: flex-end;
}

.submit-btn {
    background-color: var(--ms-blue);
    color: white;
    border: none;
    padding: 10px 32px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: var(--ms-blue-hover);
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 32px 24px;
        box-shadow: none;
        border: 1px solid #e6e6e6;
    }
    
    .login-wrapper {
        padding: 10px;
    }
}
