/*
 * Additional styles to implement the enhanced collector dashboard design.
 * These rules build upon the existing ev-styles and ev-dashboard skins by
 * introducing summary cards, action buttons and a modern dark navigation.
 */

/* Root variables for card shadows and colours */
:root {
    --ev-card-bg: #f7f8fa;
    --ev-card-shadow: 6px 6px 12px rgba(0, 0, 0, 0.05), -6px -6px 12px rgba(255, 255, 255, 0.8);
    --ev-green: #229954;
}

/* Container adjustments */
.ev-container {
    background: var(--ev-card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--ev-card-shadow);
    margin-bottom: 2rem;
}

/* Summary cards layout */
.ev-dashboard-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.ev-summary-card {
    flex: 1;
    min-width: 200px;
    background: var(--ev-card-bg);
    border-radius: 20px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--ev-card-shadow);
}
.ev-summary-icon {
    font-size: 2rem;
    line-height: 1;
}
.ev-summary-number {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
}
.ev-summary-label {
    font-size: 0.85rem;
    margin: 0;
    color: #555;
}

/* Action buttons */
.ev-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.ev-dashboard-actions .button {
    border-radius: 30px;
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}
.ev-add-record-button {
    background: var(--ev-green);
    color: #ffffff;
    box-shadow: var(--ev-card-shadow);
}
.ev-add-record-button:hover {
    background: #1f8a4d;
}
.ev-view-cert-button {
    background: var(--ev-card-bg);
    color: #333333;
    box-shadow: var(--ev-card-shadow);
}
.ev-view-cert-button:hover {
    background: #eef0f3;
}

/* Recent activity section */
.ev-dashboard-activity h3 {
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.ev-activity-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.ev-activity-card {
    flex: 1;
    min-width: 200px;
    background: var(--ev-card-bg);
    border-radius: 18px;
    box-shadow: var(--ev-card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ev-activity-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.ev-activity-content {
    padding: 0.8rem 1rem;
}
.ev-activity-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.ev-activity-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.5rem;
}
.ev-activity-description {
    font-size: 0.85rem;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ev-dashboard-summary {
        flex-direction: column;
    }
    .ev-dashboard-actions {
        flex-direction: column;
    }
    .ev-activity-cards {
        flex-direction: column;
    }
}