@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;
}