/* Microsoft 365 Login Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Segoe UI Web Regular', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    color: #1b1b1b;
    background-color: #f3f2f1;
    min-height: 100vh;
}

.outer-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.inner-container {
    width: 100%;
    max-width: 440px;
    background-color: #fff;
    padding: 44px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 24px;
}

.logo {
    height: 30px;
    width: auto;
}

/* Steps */
.step {
    display: none;
}

.step.active {
    display: block;
}

/* Identity Banner */
.identity-banner {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    min-height: 40px;
}

.identity-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f2f1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.default-avatar {
    width: 32px;
    height: 32px;
    fill: #8a8886;
}

.identity-name {
    flex: 1;
    margin-left: 12px;
    font-size: 15px;
    color: #1b1b1b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-change {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
    border-radius: 4px;
}

.btn-change:hover {
    background-color: #f3f2f1;
}

.btn-change svg {
    fill: #0067b8;
}

/* Typography */
h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 16px;
    font-weight: 600;
}

.error-text {
    color: #1b1b1b;
    margin-bottom: 16px;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #8a8886;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    border-color: #0067b8;
    box-shadow: 0 0 0 1px #0067b8;
}

input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #8a8886;
}

/* Buttons */
.form-actions {
    margin-top: 24px;
}

.btn-primary {
    background-color: #0067b8;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.btn-primary:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Links */
.links {
    margin-top: 16px;
}

.links a {
    color: #0067b8;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

/* Error Icon */
.error-icon {
    text-align: center;
    margin-bottom: 16px;
}

.error-icon svg {
    width: 48px;
    height: 48px;
    fill: #d83b01;
}

/* Footer */
.footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e1dfdd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: #616161;
    text-decoration: none;
    font-size: 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-more {
    color: #616161;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
}

.footer-more:hover {
    background-color: #f3f2f1;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 480px) {
    .inner-container {
        padding: 24px;
        box-shadow: none;
    }
    
    body {
        background-color: #fff;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* Animation for transitions */
.step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Checkbox styling (if needed) */
input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/* Remember me styling */
.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

/* Link button (no default button styles) */
.btn-link {
    background: none;
    border: none;
    color: #0067b8;
    cursor: pointer;
    font-size: 15px;
    padding: 0;
}

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

/* Table for additional layouts if needed */
table {
    border-collapse: collapse;
    width: 100%;
}

/* Additional utility classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: #616161;
}

.mt-16 {
    margin-top: 16px;
}

.mb-16 {
    margin-bottom: 16px;
}
