/* Vlasnička Analitika - Frontend Stilovi */

.apartment-card:hover {
    border-color: #63AB45 !important;
    box-shadow: 0 4px 12px rgba(99, 171, 69, 0.2) !important;
    transform: translateY(-2px);
}

.moji-apartmani-content table {
    border-radius: 8px;
    overflow: hidden;
}

.moji-apartmani-content table thead tr {
    background: linear-gradient(135deg, #63AB45 0%, #7BC653 100%);
}

.moji-apartmani-content .btn {
    transition: all 0.3s ease;
}

.moji-apartmani-content .btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Boje za redove po statusu */
.moji-apartmani-content table tbody tr {
    transition: all 0.2s ease;
}

.moji-apartmani-content table tbody tr:hover {
    filter: brightness(0.95);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Selektor godine */
#vipcasa-year-select {
    transition: all 0.3s ease;
}

#vipcasa-year-select:hover {
    border-color: #63AB45;
}

#vipcasa-year-select:focus {
    outline: none;
    border-color: #63AB45;
    box-shadow: 0 0 0 3px rgba(99, 171, 69, 0.1);
}

/* Responsive tabela */
@media (max-width: 768px) {
    .moji-apartmani-content table {
        font-size: 12px;
    }
    
    .moji-apartmani-content table th,
    .moji-apartmani-content table td {
        padding: 10px 8px !important;
    }
    
    .apartment-card {
        padding: 20px !important;
    }
    
    /* Legenda boja na mobilnom */
    .moji-apartmani-content [style*="display: flex; gap: 15px; font-size: 13px"] {
        flex-direction: column;
        gap: 8px !important;
    }
}

/* Animacije za grafikon */
@keyframes barGrow {
    from {
        height: 0%;
    }
}

.moji-apartmani-content [style*="background: linear-gradient"] {
    animation: barGrow 0.8s ease-out;
}

/* Kalendar stilovi */
#calendar-view {
    margin-top: 20px;
}

#calendar-container > div > div {
    transition: all 0.2s ease;
}

#calendar-container > div > div:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

#toggle-calendar-view {
    transition: all 0.3s ease;
}

#toggle-calendar-view:hover {
    background: #7BC653 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(99, 171, 69, 0.3);
}

/* Responsive kalendar */
@media (max-width: 768px) {
    #calendar-container > div {
        gap: 2px !important;
    }
    
    #calendar-container > div > div {
        min-height: 60px !important;
        padding: 5px !important;
        font-size: 12px !important;
    }
}
