/*
 * Estilos propios de Cuentas sobre la UI moderna compartida con datia.base.
 * style.css / dark-theme.css / modern.css / grid-views.css se mantienen
 * iguales a datia.base: lo específico de esta app va acá.
 */

/* Acceso directo a la App en el header */
body.ui-modern .header-app-link {
    display: flex;
    align-items: center;
    margin-right: 6px;
}

body.ui-modern .header-app-link .app-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--ui-text-2);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.ui-modern .header-app-link .app-shortcut:hover,
body.ui-modern .header-app-link .app-shortcut:focus-visible {
    background: var(--ui-surface-2);
    border-color: var(--ui-border);
    color: var(--ui-text);
    text-decoration: none;
    outline: none;
}

body.ui-modern .header-app-link .app-shortcut i {
    font-size: 13px;
    line-height: 1;
}

/* Botonera de accesos en proyectos */
body.ui-modern .botonera-buttom-custom {
    width: 50px;
    height: 50px;
    border-radius: var(--ui-radius);
    background-color: var(--ui-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

body.ui-modern .botonera-buttom-custom:hover {
    background-color: var(--ui-primary-hover);
}

body.ui-modern .botonera-buttom-custom svg,
body.ui-modern .botonera-buttom-custom i {
    width: 25px;
    height: 25px;
    font-size: 22px;
    color: #fff;
}

.btn-xs {
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: var(--ui-radius-sm, 6px);
}

/* Login: separador y botón de Google */
body.ui-auth .ui-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--ui-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.ui-auth .ui-auth-divider::before,
body.ui-auth .ui-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ui-border);
}

body.ui-auth .ui-auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ui-surface);
    border-color: var(--ui-border-strong);
    color: var(--ui-text);
}

body.ui-auth .ui-auth-google:hover,
body.ui-auth .ui-auth-google:focus {
    background: var(--ui-surface-2);
    border-color: var(--ui-border-strong);
    color: var(--ui-text);
}
