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

body {
    font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Symbol", "Helvetica Neue", "BBAlpha Sans", "S60 Sans", Arial, sans-serif;
    background: #0078d4;
    min-height: 100vh;
    overflow: hidden;
}

.adfs-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adfs-content {
    width: 100%;
    height: 100vh;
    display: flex;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.adfs-left-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.adfs-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.adfs-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.adfs-bg-image.loaded {
    opacity: 1;
}

.adfs-right-panel {
    flex: 0 0 420px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 40px;
    justify-content: center;
}

.adfs-header {
    margin-bottom: 40px;
    text-align: center;
}

.adfs-logo {
    margin-bottom: 1rem;
}

.passport-logo {
    height: 3rem;
    width: auto;
    opacity: 0.8;
}

.adfs-title {
    font-size: 28px;
    font-weight: 600;
    color: #323130;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.adfs-subtitle {
    font-size: 14px;
    color: #605e5c;
    font-weight: 400;
}

.adfs-form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.adfs-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #323130;
    margin-bottom: 8px;
}

.adfs-description {
    font-size: 14px;
    color: #605e5c;
    margin-bottom: 24px;
    line-height: 1.4;
}

.adfs-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.adfs-options {
    margin-bottom: 24px;
}

.adfs-option {
    margin-bottom: 12px;
    position: relative;
}

.adfs-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.adfs-option-label {
    display: block;
    padding: 16px;
    border: 1px solid #d2d0ce;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
}

.adfs-option-label:hover {
    border-color: #0078d4;
    background: #f3f9fd;
}

.adfs-option input[type="radio"]:checked + .adfs-option-label {
    border-color: #0078d4;
    background: #f3f9fd;
    box-shadow: inset 0 0 0 1px #0078d4;
}

.adfs-option input[type="radio"]:checked + .adfs-option-label::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0078d4;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #0078d4;
}

.adfs-option-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #323130;
    margin-bottom: 4px;
}

.adfs-option-desc {
    display: block;
    font-size: 14px;
    color: #605e5c;
    margin-bottom: 4px;
    line-height: 1.3;
}

.adfs-option-email {
    display: block;
    font-size: 12px;
    color: #8a8886;
    font-family: "Consolas", "Courier New", monospace;
    background: #f8f8f8;
    padding: 2px 6px;
    border-radius: 2px;
    display: inline-block;
}

.adfs-submit-btn {
    background: #0078d4;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-height: 44px;
    text-align: center;
}

.adfs-submit-btn:hover:not(:disabled) {
    background: #106ebe;
}

.adfs-submit-btn:active:not(:disabled) {
    background: #005a9e;
}

.adfs-submit-btn:disabled {
    background: #a19f9d;
    cursor: not-allowed;
}

.adfs-footer {
    margin-top: 32px;
    text-align: center;
}

.adfs-footer p {
    font-size: 12px;
    color: #8a8886;
}

/* Did You Know Modal Styles */
.did-you-know-trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #0078d4;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.did-you-know-trigger:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.did-you-know-modal {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 280px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.did-you-know-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.did-you-know-content {
    padding: 16px;
}

.did-you-know-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.did-you-know-title {
    font-size: 16px;
    font-weight: 600;
    color: #0078d4;
}

.did-you-know-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #8a8886;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.did-you-know-close:hover {
    background: #f3f2f1;
    color: #323130;
}

.did-you-know-text {
    font-size: 14px;
    color: #323130;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .adfs-content {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .adfs-left-panel {
        flex: 0 0 200px;
    }
    
    .adfs-right-panel {
        flex: 1;
        padding: 24px;
    }
    
    .adfs-header {
        margin-bottom: 24px;
    }
    
    .adfs-title {
        font-size: 24px;
    }

    .did-you-know-trigger {
        top: 15px;
        right: 15px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .did-you-know-modal {
        top: 50px;
        right: 15px;
        width: 240px;
    }
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #323130;
    margin-bottom: 4px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #8a8886;
    border-radius: 2px;
    font-size: 14px;
    background: #ffffff;
    color: #323130;
}

.form-group input:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 1px #0078d4;
}

.error-message {
    background: #fde7e9;
    border: 1px solid #d13438;
    color: #d13438;
    padding: 8px 12px;
    border-radius: 2px;
    font-size: 13px;
    margin-top: 8px;
}