/* Tenant Landing Page Styles */

.tenant-landing {
    padding: 1rem;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.weather-widget {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.activity-feed {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    transition: background-color 0.2s;
}

.activity-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.activity-icon {
    width: 40px;
    text-align: center;
}

/* Metric Cards */
.display-6 {
    font-weight: 600;
    font-size: 2.5rem;
}

/* Button Enhancements */
.btn {
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Quick Actions Grid */
.d-grid .btn {
    text-align: left;
    padding: 0.75rem 1rem;
}

.d-grid .btn i {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem !important;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
    
    .weather-widget {
        margin-top: 2rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .card {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .card-header {
        background-color: #2a2a2a !important;
        border-bottom: 1px solid #3a3a3a;
    }
    
    .activity-item:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .border-bottom {
        border-color: #3a3a3a !important;
    }
    
    .text-muted {
        color: #999 !important;
    }
}

/* Animation for metric updates */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.card-body:has(.display-6) {
    animation: pulse 0.5s ease-in-out;
}

/* Custom scrollbar for activity feed */
.activity-feed::-webkit-scrollbar {
    width: 6px;
}

.activity-feed::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.activity-feed::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.activity-feed::-webkit-scrollbar-thumb:hover {
    background: #555;
}