/* ============================================
   STYLE CSS ANAKOS.ID (REVAMP)
   Modern Clean Design
   ============================================ */

/* ====== VARIABEL ====== */
:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #dcfce7;
    --primary-lighter: #f0fdf4;
    --secondary: #1e293b;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --info: #3b82f6;
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--gray-50);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ====== CONTAINER ====== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== TEXT UTILITIES ====== */
.text-green {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-green {
    background-color: var(--primary);
    color: var(--white);
}

.btn-green:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline-green {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-green:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-danger {
    background-color: var(--danger);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* ====== BADGE ====== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.badge-green {
    background-color: var(--primary);
    color: var(--white);
}

.badge-light {
    background-color: rgba(255,255,255,0.9);
    color: var(--text-dark);
}

.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

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

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

/* ====== NAVBAR ====== */
.navbar-modern {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

.navbar-logo img {
    height: 40px;
}

.navbar-links {
    display: flex;
    gap: 30px;
}

.navbar-links a {
    font-weight: 500;
    color: var(--text-gray);
    position: relative;
    padding: 5px 0;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--primary);
}

.navbar-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--text-gray);
    transition: var(--transition);
}

.btn-icon:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

@media (max-width: 992px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        flex-direction: column;
        box-shadow: var(--shadow);
    }
    
    .navbar-links.active {
        display: flex;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-actions {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .navbar-actions .btn-icon {
        display: none;
    }
}

/* ====== HERO SECTION ====== */
.hero-modern {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 40px 0 30px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

/* ====== HERO SLIDER ====== */
.hero-modern {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    visibility: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--white);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 10px;
}

.hero-content-wrapper {
    position: relative;
    z-index: 5;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ====== NAVBAR LOGO ====== */
.navbar-logo img {
    height: 25px !important;
    width: auto !important;
    max-width: 150px;
}

/* ====== FOOTER LOGO ====== */
.footer-logo img {
    height: 40px;
    width: auto;
    background: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .hero-modern {
        min-height: 400px;
        padding: 60px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
}

/* ====== SEARCH BAR ====== */
.hero-search {
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 300px;
    box-shadow: -1px 5px 50px -2px rgba(0,0,0,0.5);
}

@media(max-width: 768px){
    .hero-search{
        margin-top: 0;
    }
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr) auto;
    gap: 15px;
    align-items: end;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid var(--gray-200);
    padding-right: 15px;
}

.search-item:last-child {
    border-right: none;
}

.search-icon {
    font-size: 20px;
    color: var(--primary);
    margin-top: -25px;
}

.search-input {
    flex: 1;
}

.search-input label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.search-input input,
.search-input select {
    width: 100%;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    background: transparent;
    outline: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.search-input input::placeholder {
    color: var(--text-light);
}

.btn-search {
    height: 48px;
    padding: 0 24px;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .search-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-item {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 10px;
    }
    
    .btn-search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== FEATURES SECTION ====== */
.features-section {
    padding: 40px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--gray-50);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 12px;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== SECTION HEADER ====== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.section-header a {
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ====== CATEGORY SECTION ====== */
.category-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.category-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.category-info p {
    font-size: 13px;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====== PROPERTY SECTION ====== */
.property-section {
    padding: 60px 0;
    background: var(--white);
}

/* ====== PROPERTY GRID ====== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ====== PROPERTY CARD ====== */
.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ====== PROPERTY CARD LINK ====== */
.property-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ====== PROPERTY IMAGE ====== */
.property-image {
    position: relative;
    display: block;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

/* ====== PROPERTY BADGES ====== */
.property-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    z-index: 2;
    flex-wrap: wrap;
}

.property-badges .badge {
    font-size: 10px;
    padding: 3px 8px;
}

/* ====== PROPERTY FAV BUTTON ====== */
.property-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 0;
    line-height: 1;
    pointer-events: auto;
    color: var(--danger);
}

.property-fav:hover {
    transform: scale(1.15);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.property-fav:active {
    transform: scale(0.92);
}

.property-fav:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    pointer-events: none;
}

.property-fav i {
    font-size: 16px;
    transition: all 0.2s ease;
    pointer-events: none;
    line-height: 1;
}

/* Favorite active state (fas fa-heart) */
.property-fav .fas.fa-heart {
    color: #ef4444 !important;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

/* Favorite inactive state (far fa-heart) */
.property-fav .far.fa-heart {
    color: #94a3b8 !important;
}

/* Hover effect untuk inactive state */
.property-fav:hover .far.fa-heart {
    color: #ef4444 !important;
    transform: scale(1.1);
}

/* Pulse animation saat klik */
.property-fav.pulse i {
    animation: favPulse 0.3s ease;
}

@keyframes favPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ====== ROOM INFO OVERLAY ====== */
.property-room-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 12px 12px 12px;
    display: flex;
    gap: 16px;
    z-index: 2;
    justify-content: left;
}

.property-room-overlay .room-item {
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.property-room-overlay .room-item i {
    font-size: 13px;
}

.property-room-overlay .room-item .available {
    color: #4ade80;
}

.property-room-overlay .room-item .full {
    color: #f87171;
}

/* ====== PROPERTY BODY ====== */
.property-body {
    padding: 12px 14px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ====== PROPERTY TITLE ====== */
.property-body .property-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-dark);
}

.property-body .property-title:hover {
    color: var(--primary);
}

/* ====== PROPERTY LOCATION ====== */
.property-body .property-location {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-body .property-location i {
    color: var(--danger);
    margin-right: 3px;
    font-size: 11px;
}

/* ====== PROPERTY DESCRIPTION TOOLTIP ====== */
.property-description-tooltip {
    position: relative;
    cursor: help;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 8px;
    min-height: 36px;
}

.property-description-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    max-width: 260px;
    min-width: 180px;
    z-index: 100;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 400;
    text-align: left;
}

.property-description-tooltip::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--gray-900);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.property-description-tooltip:hover::after,
.property-description-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ====== PROPERTY PRICE ====== */
.property-body .property-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.property-body .property-price .per {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
}

/* ====== PROPERTY FEATURES ====== */
.property-features {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-gray);
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
    flex-wrap: wrap;
}

.property-features i {
    color: var(--primary);
    margin-right: 3px;
    font-size: 12px;
}

.property-features span {
    display: flex;
    align-items: center;
}

.property-features .feature-more {
    color: var(--text-light);
    font-size: 10px;
}

/* ====== RESPONSIVE PROPERTY ====== */
@media (max-width: 992px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .property-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .property-image {
        height: 150px;
    }
    .property-body {
        padding: 10px 12px 12px 12px;
    }
    .property-body .property-title {
        font-size: 13px;
    }
    .property-body .property-location {
        font-size: 11px;
    }
    .property-body .property-price {
        font-size: 15px;
    }
    .property-body .property-price .per {
        font-size: 11px;
    }
    .property-description-tooltip {
        font-size: 11px;
        min-height: 32px;
        -webkit-line-clamp: 1;
    }
    .property-room-overlay .room-item {
        font-size: 10px;
    }
    .property-room-overlay {
        gap: 10px;
        padding: 14px 8px 8px 8px;
    }
    .property-room-overlay .room-item i {
        font-size: 11px;
    }
    .property-features {
        font-size: 10px;
        gap: 8px;
        padding-top: 6px;
    }
    .property-features i {
        font-size: 10px;
    }
    .property-badges .badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    .property-fav {
        width: 30px;
        height: 30px;
        font-size: 13px;
        top: 8px;
        right: 8px;
    }
    .property-fav i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .property-image {
        height: 120px;
    }
    .property-body {
        padding: 8px 10px 10px 10px;
    }
    .property-body .property-title {
        font-size: 12px;
    }
    .property-body .property-location {
        font-size: 10px;
        margin-bottom: 4px;
    }
    .property-body .property-price {
        font-size: 13px;
        margin-bottom: 4px;
    }
    .property-body .property-price .per {
        font-size: 10px;
    }
    .property-description-tooltip {
        font-size: 10px;
        min-height: 28px;
        -webkit-line-clamp: 1;
        margin-bottom: 4px;
    }
    .property-room-overlay .room-item {
        font-size: 9px;
    }
    .property-room-overlay {
        gap: 8px;
        padding: 10px 6px 6px 6px;
    }
    .property-room-overlay .room-item i {
        font-size: 9px;
    }
    .property-features {
        font-size: 9px;
        gap: 6px;
        padding-top: 4px;
    }
    .property-features i {
        font-size: 9px;
    }
    .property-badges .badge {
        font-size: 8px;
        padding: 2px 5px;
    }
    .property-fav {
        width: 26px;
        height: 26px;
        font-size: 11px;
        top: 6px;
        right: 6px;
    }
    .property-fav i {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .property-grid {
        gap: 8px;
    }
    .property-image {
        height: 100px;
    }
    .property-body .property-title {
        font-size: 11px;
    }
    .property-body .property-price {
        font-size: 12px;
    }
    .property-room-overlay .room-item {
        font-size: 8px;
    }
    .property-room-overlay {
        gap: 5px;
        padding: 8px 4px 4px 4px;
    }
    .property-features {
        font-size: 8px;
        gap: 4px;
    }
}

/* ====== PAGINATION ====== */
.pagination-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
}

.page-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ====== CTA SECTION ====== */
.cta-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.cta-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-content p {
    color: var(--text-gray);
    font-size: 15px;
}

@media (max-width: 768px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ====== TIPS SECTION ====== */
.tips-section {
    padding: 60px 0;
    background: var(--white);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tip-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tip-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.tip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tip-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255,255,255,0.9);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.tip-body {
    padding: 20px;
}

.tip-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tip-body p {
    font-size: 13px;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== STATS SECTION ====== */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-item i {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* ====== FOOTER ====== */
.footer-modern {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-logo img {
    height: 35px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-col ul li i {
    margin-right: 8px;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== EMPTY STATE ====== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 60px;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ====== TOAST ====== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 15px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ====== ALERT ====== */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* ====== FORM ====== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* ====== MODAL ====== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    overflow: auto;
    padding: 50px 20px;
}

.modal.active {
    display: block;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-gray);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid var(--gray-200);
}

/* ============================================
   AUTH PAGES (LOGIN & REGISTER)
   ============================================ */

/* Body khusus auth */
.auth-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    background: #f8fafc;
    margin: 0;
    padding: 0;
}

/* Background Pattern */
.auth-bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    z-index: -1;
}

.auth-bg-pattern::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
}

.auth-bg-pattern::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.05);
}

/* Wrapper utama */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

/* ====== LEFT PANEL (BRANDING) ====== */
.auth-brand-panel {
    flex: 1;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 0 30px 30px 0;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.auth-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.brand-content {
    max-width: 400px;
    position: relative;
    z-index: 2;
    color: #fff;
}

.brand-logo {
    margin-bottom: 30px;
}

/* ====== LOGO DI PANEL BRANDING (AUTH) ====== */
.brand-logo img {
    height: 60px;
    width: auto;
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.brand-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.brand-content p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.brand-feature i {
    font-size: 18px;
}

.brand-feature span {
    font-size: 14px;
    font-weight: 500;
}

/* ====== RIGHT PANEL (FORM) ====== */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
    border-radius: 30px 0 0 30px;
}

.form-container {
    max-width: 400px;
    width: 100%;
}

.mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 20px;
}

.mobile-logo img {
    height: 40px;
}

.form-container h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 30px;
}

/* Flash Message */
.flash-message {
    margin-bottom: 20px;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-label i {
    color: var(--primary);
}

.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s ease;
    background: var(--gray-50);
    color: var(--text-dark);
}

.form-control:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-check label {
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
}

.forgot-link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    padding: 14px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    padding: 0 15px;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Register Prompt */
.register-prompt {
    text-align: center;
    margin-top: 10px;
}

.register-prompt p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* Back Home */
.back-home {
    text-align: center;
    margin-top: 20px;
}

.back-home a {
    color: var(--text-gray);
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-home a:hover {
    color: var(--primary);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .auth-wrapper {
        flex-direction: column;
    }
    
    .auth-brand-panel {
        display: none;
    }
    
    .auth-form-panel {
        border-radius: 0;
        padding: 30px 20px;
        background: #fff;
        min-height: 100vh;
    }
    
    .mobile-logo {
        display: block;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 20px;
    }
    
    .form-container h2 {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ============================================
   RESPONSIVE MOBILE (SMARTPHONE & TABLET)
   ============================================ */

/* ====== GLOBAL MOBILE ====== */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 26px !important;
    }
    
    h2 {
        font-size: 20px !important;
    }
    
    h3 {
        font-size: 16px !important;
    }
    
    h4 {
        font-size: 14px !important;
    }
}

/* ====== NAVBAR MOBILE ====== */
@media (max-width: 992px) {
    .navbar-modern {
        padding: 10px 0;
    }
    
    .navbar-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .navbar-logo img {
        height: 28px !important;
    }
    
    .navbar-actions {
        gap: 6px;
        margin-left: auto;
    }
    
    .navbar-actions .btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .navbar-actions .btn-icon {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
    
    .navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        font-size: 20px;
        color: var(--text-dark);
        background: var(--gray-100);
        border-radius: 8px;
    }
    
    /* Menu mobile */
    .navbar-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 15px;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .navbar-links.active {
        display: flex;
    }
    
    .navbar-links a {
        padding: 12px 15px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark);
        border-bottom: 1px solid var(--gray-100);
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .navbar-links a:last-child {
        border-bottom: none;
    }
    
    .navbar-links a:hover,
    .navbar-links a.active {
        background: var(--primary-lighter);
        color: var(--primary);
    }
    
    .navbar-links a.active::after {
        display: none;
    }
}

/* ====== HERO SECTION MOBILE ====== */
@media (max-width: 768px) {
    .hero-modern {
        min-height: auto;
        padding: 40px 0 30px;
    }
    
    .hero-content-wrapper {
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .hero-content {
        margin-bottom: 30px;
        text-align: center;
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 28px !important;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 13px !important;
        max-width: 100%;
        padding: 0 10px;
    }
    
    /* Slider arrows kecil */
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
        top: 40%;
    }
    
    .slider-arrow.prev {
        left: 8px;
    }
    
    .slider-arrow.next {
        right: 8px;
    }
    
    .slider-dots {
        bottom: 10px;
        gap: 5px;
    }
    
    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dots .dot.active {
        width: 20px;
    }
}

/* ====== SEARCH BAR MOBILE ====== */
@media (max-width: 768px) {
    .hero-search {
        margin-top: 0;
        padding: 15px;
        border-radius: 12px;
        max-width: 100%;
    }
    
    .search-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .search-item {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        padding-right: 0;
        padding-bottom: 10px;
    }
    
    .search-item:last-child {
        border-bottom: none;
    }
    
    .search-icon {
        margin-top: 0;
        font-size: 16px;
        width: 35px;
        height: 35px;
        background: var(--primary-lighter);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-input label {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .search-input input,
    .search-input select {
        font-size: 13px;
        padding: 5px 0;
    }
    
    .btn-search {
        grid-column: 1 / -1;
        width: 100%;
        height: 45px;
        font-size: 14px;
        margin-top: 5px;
    }
}

/* ====== FEATURES SECTION MOBILE ====== */
@media (max-width: 768px) {
    .features-section {
        padding: 30px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .feature-item {
        padding: 15px 10px;
        gap: 10px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .feature-item h4 {
        font-size: 12px !important;
        margin-bottom: 2px;
    }
    
    .feature-item p {
        font-size: 10px !important;
        line-height: 1.3;
    }
}

/* ====== SECTION HEADER MOBILE ====== */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 18px !important;
    }
    
    .section-header a {
        font-size: 12px !important;
    }
}

/* ====== CATEGORY SECTION MOBILE ====== */
@media (max-width: 768px) {
    .category-section {
        padding: 30px 0;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card {
        padding: 20px 10px;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .category-info h4 {
        font-size: 13px !important;
    }
    
    .category-info p {
        font-size: 11px !important;
    }
}

/* ====== PAGINATION MOBILE ====== */
@media (max-width: 768px) {
    .pagination-modern {
        gap: 5px;
        margin-top: 25px;
    }
    
    .page-link {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

/* ====== CTA SECTION MOBILE ====== */
@media (max-width: 768px) {
    .cta-section {
        padding: 30px 0;
    }
    
    .cta-card {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cta-content h3 {
        font-size: 18px !important;
        margin-bottom: 5px;
    }
    
    .cta-content p {
        font-size: 13px !important;
    }
    
    .cta-action .btn {
        width: 100%;
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* ====== TIPS SECTION MOBILE ====== */
@media (max-width: 768px) {
    .tips-section {
        padding: 30px 0;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tip-image {
        height: 150px;
    }
    
    .tip-body {
        padding: 15px;
    }
    
    .tip-body h3 {
        font-size: 14px !important;
        margin-bottom: 8px;
    }
    
    .tip-body p {
        font-size: 12px !important;
    }
}

/* ====== STATS SECTION MOBILE ====== */
@media (max-width: 768px) {
    .stats-section {
        padding: 30px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-item i {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .stat-number {
        font-size: 24px !important;
        margin-bottom: 3px;
    }
    
    .stat-item p {
        font-size: 11px !important;
    }
}

/* ====== FOOTER MOBILE ====== */
@media (max-width: 768px) {
    .footer-modern {
        padding: 40px 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-col h4 {
        font-size: 14px !important;
        margin-bottom: 10px;
    }
    
    .footer-col p,
    .footer-col ul li a {
        font-size: 13px !important;
    }
    
    .footer-logo img {
        height: 40px !important;
    }
    
    .footer-bottom {
        font-size: 11px !important;
        padding-top: 15px;
    }
}

/* ====== EMPTY STATE MOBILE ====== */
@media (max-width: 768px) {
    .empty-state {
        padding: 30px 15px;
    }
    
    .empty-state i {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .empty-state h3 {
        font-size: 16px !important;
    }
    
    .empty-state p {
        font-size: 13px !important;
    }
}

/* ====== TOAST MOBILE ====== */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
        font-size: 13px;
        padding: 12px 15px;
    }
}

/* ====== ALERT MOBILE ====== */
@media (max-width: 768px) {
    .alert {
        padding: 12px 15px;
        font-size: 13px;
        border-radius: 8px;
    }
}

/* ====== NAVBAR MOBILE FIX ====== */

/* Desktop Actions - hidden on mobile */
.desktop-actions {
    display: flex;
}

/* Mobile Actions - hidden on desktop */
.mobile-actions {
    display: none;
}

@media (max-width: 992px) {
    .desktop-actions {
        display: none !important;
    }
    
    .mobile-actions {
        display: flex !important;
        gap: 8px;
    }
    
    /* Icon buttons untuk mobile */
    .mobile-actions .btn-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--gray-100);
        color: var(--text-dark);
        transition: all 0.3s ease;
    }
    
    .mobile-actions .btn-icon:hover {
        background: var(--primary-light);
        color: var(--primary);
    }
    
    .mobile-actions .btn-icon-green {
        background: var(--primary);
        color: var(--white);
    }
    
    .mobile-actions .btn-icon-green:hover {
        background: var(--primary-dark);
        color: var(--white);
    }
}

/* Burger Menu - selalu di atas */
.navbar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    font-size: 18px;
    color: var(--text-dark);
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

@media (max-width: 992px) {
    .navbar-toggle {
        display: flex;
    }
}

/* Mobile Menu Panel - di bawah navbar */
@media (max-width: 992px) {
    .navbar-links {
        position: fixed;
        top: 55px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 10px 15px;
        flex-direction: column;
        gap: 2px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-radius: 0 0 16px 16px;
        z-index: 1000;
        max-height: calc(100vh - 55px);
        overflow-y: auto;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .navbar-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-links a {
        padding: 12px 15px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-dark);
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.2s ease;
        border: none;
    }
    
    .navbar-links a:hover,
    .navbar-links a.active {
        background: var(--primary-lighter);
        color: var(--primary);
    }
    
    .navbar-links a i {
        width: 20px;
        text-align: center;
        color: var(--primary);
    }
}

/* Tambahan icon di menu mobile */
@media (max-width: 992px) {
    .navbar-links a::before {
        content: '';
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--primary);
        opacity: 0;
        transition: all 0.2s ease;
    }
    
    .navbar-links a.active::before,
    .navbar-links a:hover::before {
        opacity: 1;
    }
}

/* ====== ROLE SELECTION (Register) ====== */
.role-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.role-option {
    cursor: pointer;
    position: relative;
}

.role-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.role-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.role-content i {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.role-content span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.role-option input[type="radio"]:checked + .role-content {
    border-color: var(--primary);
    background: var(--primary-lighter);
}

.role-option input[type="radio"]:checked + .role-content i {
    color: var(--primary);
}

.role-option input[type="radio"]:checked + .role-content span {
    color: var(--primary);
}

.role-option:hover .role-content {
    border-color: var(--primary);
}

/* Mobile responsive untuk role selection */
@media (max-width: 576px) {
    .role-selection {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LIGHTBOX PREVIEW FOTO
   ============================================ */

.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    overflow: auto;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: #fff;
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
    padding: 0 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #22c55e;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .lightbox-close {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }
    
    .lightbox-caption {
        font-size: 14px;
    }
}

/* ============================================
   KOMPATIBILITAS UNTUK PEOPLE NEARBY
   ============================================ */

/* Pastikan tidak ada konflik dengan dashboard */
.dashboard-content .people-nearby-wrapper {
    height: 100vh;
}

/* Perbaikan untuk overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9990;
}

.sidebar-overlay.active {
    display: block;
}

@media (min-width: 769px) {
    .sidebar-overlay {
        display: none !important;
    }
}

/* ====== GOOGLE LOGIN BUTTON ====== */
.btn-google {
    background-color: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #d2d5d9;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
    transform: translateY(-1px);
}

.btn-google:active {
    background-color: #f1f3f4;
    transform: translateY(0);
}

.btn-google svg {
    flex-shrink: 0;
}

.google-login-wrapper {
    margin-top: 5px;
}

@media (max-width: 576px) {
    .btn-google {
        padding: 10px 20px;
        font-size: 13px;
    }
    .btn-google svg {
        width: 18px;
        height: 18px;
    }
}