/* ==========================================================
   GEOCONDOMINIOS ERP STYLE — FINAL COMPLETO
   Diseño: Profesional / Moderno / Corporativo
========================================================== */

/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Inter",system-ui,sans-serif;
    background:#f4f7fa;
    color:#1f2937;
}

/* ================= VARIABLES ================= */
:root{
    --nav1:#0b1f2a;
    --nav2:#0f3d4c;

    --primary:#1d4ed8;
    --bg:#f4f7fa;
    --card:#ffffff;
    --border:#e5e7eb;
    --text:#1f2937;
}

/* ================= NAVBAR ================= */
.navbar{
    width:100%;
    background:linear-gradient(90deg,var(--nav1),var(--nav2));
    padding:14px 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
}

.logo img{
    height:46px;
}

/* LINKS */
.nav-links{
    display:flex;
    gap:20px;
    align-items:center;
}

.nav-links a,
.dropbtn{
    color:#fff;
    text-decoration:none;
    font-weight:700;
    padding:8px 12px;
    border-radius:10px;
    transition:.2s;
}

.nav-links a:hover{
    background:rgba(255,255,255,.15);
}

.nav-links a.active{
    background:rgba(59,130,246,.25);
}

/* LOGOUT */
.logout{
    background:rgba(239,68,68,.25);
}

/* ================= DROPDOWN ================= */
.dropdown{
    position:relative;
}

.dropdown-content{
    display:none;
    position:absolute;
    right:0;
    background:white;
    min-width:220px;
    border-radius:12px;
    box-shadow:0 12px 28px rgba(0,0,0,.25);
    overflow:hidden;
}

.dropdown-content a{
    display:block;
    padding:12px;
    color:#1f2937;
    font-weight:600;
}

.dropdown-content a:hover{
    background:#f1f5f9;
}

.dropdown:hover .dropdown-content{
    display:block;
}

/* ================= MOBILE MENU ================= */
.hamburger{
    display:none;
}

@media(max-width:900px){

    .hamburger{
        display:flex;
        flex-direction:column;
        gap:5px;
        cursor:pointer;
    }

    .hamburger span{
        width:26px;
        height:3px;
        background:#fff;
    }

    .nav-links{
        display:none;
        position:fixed;
        top:60px;
        left:0;
        right:0;
        background:white;
        flex-direction:column;
        padding:20px;
    }

    .nav-links.show{
        display:flex;
    }

    .nav-links a{
        color:#1f2937;
    }
}

/* ================= CONTAINERS ================= */
.container{
    max-width:1150px;
    margin:30px auto;
    padding:0 20px;
}

/* ================= CARDS ================= */
.card,
.form-panel{
    background:white;
    border-radius:18px;
    padding:24px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    border:1px solid #e5e7eb;
}

/* ================= HEADERS ================= */
.form-header{
    background:linear-gradient(90deg,var(--nav1),var(--nav2));
    color:white;
    padding:20px;
    border-radius:16px;
    margin-bottom:20px;
}

/* ================= BUTTONS ================= */
.btn-primary{
    background:linear-gradient(90deg,var(--nav2),var(--nav1));
    color:white;
    padding:12px 18px;
    border-radius:12px;
    border:none;
    font-weight:800;
    cursor:pointer;
    transition:.2s;
}

.btn-primary:hover{
    transform:translateY(-2px);
}

/* ================= INPUTS ================= */
.input{
    padding:12px;
    border-radius:12px;
    border:1px solid #cbd5e1;
    background:#f8fafc;
    width:100%;
}

.input:focus{
    outline:none;
    border-color:var(--primary);
}

/* ================= TABLES ================= */
table{
    width:100%;
    border-collapse:collapse;
}

th{
    background:#f1f5f9;
    padding:12px;
    text-align:left;
}

td{
    padding:12px;
    border-top:1px solid #e5e7eb;
}

tr:hover{
    background:#f9fafb;
}

/* ================= BADGES ================= */
.badge{
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.badge-success{
    background:#dcfce7;
    color:#166534;
}

.badge-danger{
    background:#fee2e2;
    color:#991b1b;
}

.badge-warning{
    background:#fef3c7;
    color:#92400e;
}

/* ================= SCROLL ================= */
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:#94a3b8;
    border-radius:10px;
}