/*
 * Info/Success V2 Page-Specific Styles
 * Common styles are in common-v2.css
 * This file contains only info-page-specific overrides
 */

/* ============================================
   Info Container
   ============================================ */

.kc-info-header-v2 h1 {
    width: 100%;
}

#kc-info-container-v2.dark {
    background: #1a1a1a;
}

/* ============================================
   Theme Toggle Button
   ============================================ */
#theme-toggle-info-v2 {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--v2-bg-toggle-button);
    border: 1px solid var(--v2-color-border-default);
    border-radius: var(--v2-border-radius-button);
    padding: var(--eds-space-050);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v2-color-text-secondary);
    transition: all var(--v2-transition-speed) ease;
    z-index: 10;
}

#theme-toggle-info-v2:hover {
    background: var(--v2-bg-toggle-button-hover);
    border-color: var(--v2-color-border-hover);
    color: var(--v2-color-text-primary);
}

#theme-toggle-info-v2 .moon-icon {
    display: none;
}

#kc-info-container-v2.dark #theme-toggle-info-v2 .sun-icon {
    display: none;
}

#kc-info-container-v2.dark #theme-toggle-info-v2 .moon-icon {
    display: block;
}

/* ============================================
   Info Wrapper
   ============================================ */
#kc-info-wrapper-v2 {
    max-width: 500px;
    width: 100%;
    padding: var(--eds-space-300);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Brand/Logo
   ============================================ */
.kc-info-brand-v2 {
    margin-bottom: var(--eds-space-200);
}

.kc-info-brand-v2 .kc-logo-v2 {
    height: 30px;
    width: auto;
    display: block;
    transition: filter var(--v2-transition-speed) ease;
}

#kc-info-container-v2.dark .kc-info-brand-v2 .kc-logo-v2 {
    filter: invert(1) brightness(1.2);
}

/* ============================================
   Action Button Container
   ============================================ */
.kc-info-actions-v2 {
    width: 100%;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 640px) {
    #kc-info-container-v2 {
        padding: var(--eds-space-150);
    }

    #kc-info-wrapper-v2 {
        padding: var(--eds-space-200);
    }

    .kc-info-icon-v2 {
        width: 64px;
        height: 64px;
    }

    .kc-info-title-v2 {
        font-size: var(--eds-size-150);
    }

    .kc-info-message-v2 {
        font-size: var(--eds-size-087);
    }
}
