/* dashboard-frame.css */

/* Base styles for the dashboard */
.weather-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

/* Grid layout for the dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
}

/* Card styles */
.dashboard-card .card {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

/* Hover effect for cards */
.dashboard-card .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Content area within the card */
.dashboard-content {
    padding: 1rem;
    background: rgba(77, 0, 0, 0.02);
    border-radius: 8px;
}

/* Iframe styles */
.dashboard-frame {
    width: 100%;
    min-height: 800px;
    border: none;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Card header styles with gradient */
.dashboard-card .card-header {
    background: linear-gradient(145deg, 
        #333333 0%, 
        #3d1a1a 25%,
        #4d0000 50%,
        #590000 75%,
        #660000 100%
    ) !important;
    opacity: 0.92;
    padding: 1rem;
    border: none;
    border-radius: 8px 8px 0 0;
    color: rgba(255, 255, 255, 0.95) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.dashboard-card .card-header i {
    font-size: 2rem;
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.95) !important;
}

.dashboard-card .card-title {
    margin: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-frame {
        min-height: 600px;
    }
    
    .dashboard-content {
        padding: 0.5rem;
    }
}
