/* Professional Theme for GH ABOGADOS */
:root {
    --primary-blue: #0d3b66;
    --accent-cyan: #4ba3a3;
    --light-blue-bg: #f0f4f8;
    --dark-text: #1a202c;
    --soft-white: #ffffff;
    --border-color: #cbd5e0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-blue-bg);
    margin: 0;
    padding: 0;
    color: var(--dark-text);
}

/* UI Elements */
.btn-primary-gh {
    background-color: var(--primary-blue);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-gh:hover {
    background-color: #1a4a6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.2);
}

/* Registration & Terms Specific (Keep for initial pages) */
.app-split-container {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4a6e 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.app-main-content {
    width: 50%;
    background: var(--soft-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 60px;
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar-gh {
    width: 280px;
    background: var(--primary-blue);
    color: white;
    min-height: 100vh;
    position: fixed;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    padding: 20px 0;
}

.menu-item {
    padding: 12px 25px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.menu-item i {
    font-size: 1.2rem;
    margin-right: 15px;
}

.menu-item:hover,
.menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 4px solid var(--accent-cyan);
}

.main-layout {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-header-gh {
    height: 70px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-body {
    padding: 40px;
    background: var(--light-blue-bg);
    flex: 1;
}

/* User Profile in Header */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-cyan);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Risk Matrix styles */
.grid-matriz {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    margin-top: 10px;
    width: 100%;
}

.grid-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 2px;
}

.risk-1 {
    background: #22c55e;
}

.risk-2 {
    background: #84cc16;
}

.risk-3 {
    background: #eab308;
}

.risk-4 {
    background: #f97316;
}

.risk-5 {
    background: #ef4444;
}

.badge-marker {
    display: inline-block;
    background: #111827;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 12px;
    position: absolute;
    bottom: 2px;
}

.cell-focus {
    position: relative;
    box-shadow: 0 0 0 3px #111827 inset;
}

.border-bottom-dashed {
    border-bottom: 1px dashed #e2e8f0;
}

.card-analisis {
    border-radius: 12px;
    background: #ffffff;
}

.text-primary-gh {
    color: var(--primary-blue);
}

@media (max-width: 991px) {
    .sidebar-gh {
        width: 80px;
    }

    .sidebar-gh .sidebar-header h5,
    .sidebar-gh .menu-item span {
        display: none;
    }

    .main-layout {
        margin-left: 80px;
    }
}

/* Matrix Selection Styles */
.card-matrix-option {
    transition: all 0.3s ease;
    border: 1px solid transparent !important;
}

.card-matrix-option:hover {
    background-color: #f8fafc;
    transform: translateX(5px);
    border-left: 4px solid var(--accent-cyan) !important;
}

.checkbox-verde-sub {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-verde-sub:checked {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.uppercase {
    text-transform: uppercase;
}