* {
    box-sizing: border-box;
}

:root {
    --sidebar-width: 280px;
    --sidebar-width-collapsed: 72px;
    --topbar-height: 72px;
    --orange-primary: #ff4b2b;
    --orange-secondary: #f97316;
    --primary-gradient: linear-gradient(135deg, var(--orange-secondary) 0%, var(--orange-primary) 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --info-gradient: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
    --warning-gradient: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    --danger-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    --bg-main: #F5F5F7;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --sidebar-bg: rgba(247, 248, 249, 1);
    --color-primary: #111111;
    --card-bg: rgba(255, 255, 255, .8);
}

html,
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: "Montserrat", 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--color-primary);
}

.head-background {
    background: linear-gradient(135deg, #1a2035 0%, #2d3a5e 100%);
    color: #fff
}

.navbar-glass {
    backdrop-filter: blur(20px);
    background: rgba(36, 43, 64, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero {
    margin-bottom: -40px;
    position: relative;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #fff4ef 45%, #f5f5f7 100%);
    padding-top: 90px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: 1.1rem;
    color: #6e6e73;
    max-width: 680px;
}

.btn-accent {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(249, 115, 22, .25);
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}


.card {
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(200, 200, 200, 1);
    border-radius: 1rem;
    transition: all .25s ease;
    /*height: 100%;*/
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(221, 72, 20, .3);
    box-shadow: 0 20px 50px rgba(221, 72, 20, .1);
}


.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.work-card {
    transition: all .3s ease;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fff8f5 100%);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(249, 115, 22, .12);
}

.status-pill {
    background: rgba(249, 115, 22, .12);
    color: #c2410c;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .85rem;
    font-weight: 700;
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer {
    background: #242B40;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.logo-horizontal {
    width: 130px;
    max-width: 130px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Estilos para DataTables */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

.form-control,
.form-select {
    border-color: rgba(0, 0, 0, 0.5);
    padding: .5rem .5rem;
    border-radius: .5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(221, 72, 20, .4);
    box-shadow: 0 0 0 0.2rem rgba(221, 72, 20, .1);
}


.navbar-glass {
    background: rgba(36, 43, 64, 0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

/* Tablet */
@media (max-width: 991.98px) {
    :root {
        --topbar-height: 72px;
    }

    .navbar-collapse {
        background: rgba(36, 43, 64, 0.96);
        padding: 20px;
        margin-top: 15px;
        border-radius: 18px;
    }

    .navbar-nav {
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    :root {
        --topbar-height: 68px;
    }

    .login-wrap {
        padding: 15px 0;
    }
}

/* index home*/

.feature-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #495057;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}