/* ==========================================================
   RESET + BASE
========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", system-ui, sans-serif;
    background: #f4f7fa;
    color: #1f2937;
}

.container {
    max-width: 1150px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ==========================================================
   NAVBAR GEOCONDOMINIOS – FINAL
========================================================== */

.navbar {
    width: 100%;
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
}

/* LOGO */
.navbar .logo img {
    height: 46px;
}

/* LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* BOTONES */
.dropbtn,
.nav-links a {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
}

.dropbtn:hover,
.nav-links a:hover {
    background: rgba(255,255,255,.15);
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 115%;
    right: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

/* ITEMS */
.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    opacity: 1;
}

.dropdown-content a:hover {
    background: #f1f5f9;
}

/* ITEM DESACTIVADO (VISIBLE) */
.dropdown-content a.disabled {
    color: #9ca3af;
    background: #f9fafb;
    cursor: not-allowed;
}

/* ICONOS */
.dropdown-content i {
    color: #1f2937;
}

/* SHOW DESKTOP */
.dropdown:hover .dropdown-content {
    display: block;
}

/* LOGOUT */
.logout {
    color: #ffe4e6 !important;
    font-weight: 700;
}

/* ==========================================================
   HAMBURGER
========================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
}

/* ==========================================================
   MOBILE
========================================================== */
@media (max-width: 900px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 16px;
        display: none;
        overflow-y: auto;
    }

    .nav-links.show {
        display: flex;
    }

    .dropbtn,
    .nav-links a {
        color: #1f2937;
        width: 100%;
        text-align: left;
        padding: 14px 12px;
        font-size: 16px;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: #f8fafc;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }
}

/* ==========================================================
   FORMULARIOS (BASE)
========================================================== */

.form-header {
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
    padding: 22px 26px;
    border-radius: 16px;
    color: white;
    margin-bottom: 26px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.form-panel {
    background: #ffffff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 15px;
}

.input:focus {
    outline: none;
    border-color: #0ea5e9;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(14,165,233,.2);
}
