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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.ascii-header {
    text-align: center;
    margin-bottom: 30px;
}

.ascii-header pre {
    font-size: 10px;
    line-height: 1.2;
    display: inline-block;
    text-align: left;
}

.rainbow-text {
    background: linear-gradient(to right,
        #ff0000, #ff7f00, #ffff00,
        #00ff00, #0000ff, #4b0082, #9400d3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 3s ease infinite;
    background-size: 200% 100%;
}

@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.title {
    color: #fff;
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    color: #b0b0b0;
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.sso-button {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.sso-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.sso-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.sso-button:hover::before {
    left: 100%;
}

.adfs-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.entra-button {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.tenant-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.config-button {
    background: linear-gradient(135deg, #fa8bff 0%, #2bd2ff 50%, #2bff88 100%);
    color: white;
}

.button-icon {
    font-size: 40px;
    margin-right: 20px;
}

.button-text {
    text-align: left;
    flex: 1;
}

.button-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.button-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.signature-warning {
    background: rgba(255, 165, 0, 0.2);
    border: 2px solid rgba(255, 165, 0, 0.6);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #ffcc00;
    font-size: 14px;
    text-align: center;
}

.signature-warning strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.info-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: #fff;
}

.info-box p {
    margin: 0;
    font-size: 14px;
}

/* Callback page styles */
.claims-container {
    margin-top: 30px;
}

.user-header {
    text-align: center;
    margin-bottom: 30px;
}

.user-ascii {
    font-size: 16px;
    line-height: 1.2;
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 20px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.claims-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.claims-section h2 {
    color: #4facfe;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #4facfe;
    padding-bottom: 10px;
}

.claim-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border-left: 3px solid #f093fb;
    gap: 8px;
}

.claim-key {
    color: #fee140;
    font-weight: bold;
    font-size: 12px;
    word-break: break-all;
    opacity: 0.9;
}

.claim-value {
    color: #fff;
    word-break: break-word;
    font-size: 14px;
    padding-left: 10px;
    border-left: 2px solid rgba(254, 225, 64, 0.3);
}

.back-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.version-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-text {
    color: #00d4ff;
    text-align: center;
    padding: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.tenant-button {
    border-color: #00d4ff;
}

.tenant-button:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

@media (max-width: 768px) {
    .ascii-header pre {
        font-size: 6px;
    }

    .button-icon {
        font-size: 30px;
        margin-right: 15px;
    }

    .button-title {
        font-size: 18px;
    }

    .container {
        padding: 20px;
    }
}
