@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');
@import url('responsive.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow-x: auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

/* Estilo para páginas de login/registro - centrado */
.main-content.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

/* Estilos para el componente de notificaciones */
.notification-bell {
    position: relative;
    display: inline-block;
}

.notification-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    width: 350px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.notification-header {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #f0f7ff;
}

.notification-content h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.notification-content p {
    margin: 5px 0;
    font-size: 0.85rem;
    color: #666;
}

.notification-content small {
    color: #999;
    font-size: 0.75rem;
}

.notification-empty {
    padding: 20px;
    text-align: center;
    color: #666;
}

.drawer-header .logo {
    max-width: 120px;
    transition: max-width .2s;
}

@media (max-width: 767.98px) {
    .drawer-header .logo {
        max-width: 70px;
    }
}

.main-content {
    min-width: 0;
    width: 100%;
    overflow-x: auto;
}

/* Opcional: mejoras visuales */
.social-links a {
    margin-right: 12px;
    font-size: 1.35rem;
}

.menu-button {
    margin-right: 4px;
}

/* Responsivo: oculta barra lateral si Drawer cerrado */
.main-drawer .dx-drawer-panel-collapsed .drawer-content {
    display: none;
}

/* ===== Onboarding Wizard Styles ===== */
.balance-summary {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.balance-difference.error {
    color: #E74C3C;
    font-weight: bold;
}

.onboarding-banner {
    background-color: #fff9c4;
    padding: 12px 20px;
    border-left: 4px solid #ffa000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Step actions (buttons container) */
.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* Account tree and validation grids */
.validation-errors-container .alert {
    margin-bottom: 1rem;
}

.account-tree-container .dx-grid {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* Preview grid specific styles */
.preview-grid .dx-grid-header {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Nature legend styles */
.nature-legend-item {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Stat cards for example catalog */
.stat-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid currentColor;
}

.stat-icon {
    font-size: 2rem;
    margin-right: 1rem;
    opacity: 0.8;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

/* Summary items */
.summary-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #004AAD;
}

.summary-label {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Balance items */
.balance-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.balance-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.balance-value {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Processing result cards */
.result-card {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-top: 4px solid currentColor;
}

.result-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

/* Success and error icons */
.success-icon,
.error-icon {
    font-size: 5rem;
}

.success-icon i {
    color: #00B894;
}

.error-icon i {
    color: #E74C3C;
}

/* Progress steps */
.progress-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.progress-step.active {
    opacity: 1;
}

.progress-step i {
    font-size: 2rem;
    color: #004AAD;
}

.progress-step span {
    font-size: 0.875rem;
    text-align: center;
}

/* Selected file info */
.selected-file-info {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* Onboarding specific animations */
@keyframes pulse-red {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.balance-difference.error {
    animation: pulse-red 2s infinite;
}

/* Processing container */
.processing-container,
.success-container,
.error-container {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.large-loader {
    font-size: 3rem;
}