/**
 * Dashboard CSS
 */

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    font-size: 36px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* Dashboard Main Content */
.dashboard-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dashboard-left,
.dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Countdown Card */
.countdown-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    color: #fff;
    text-align: center;
}

.countdown-header h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
}

.countdown-display {
    margin-bottom: 15px;
}

.countdown-number {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 18px;
    margin-top: 10px;
}

.countdown-date {
    font-size: 16px;
    opacity: 0.9;
}

/* Event Info Card */
.event-info-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.event-info-card h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
}

.event-info-grid {
    display: grid;
    gap: 16px;
}

.event-info-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.event-info-item:last-child {
    border-bottom: none;
}

.event-info-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.event-info-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Tasks Overview Card */
.tasks-overview-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tasks-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.view-all-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.view-all-link:hover {
    text-decoration: underline;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #007bff;
}

.task-item.priority-high {
    border-left-color: #dc3545;
}

.task-item.priority-medium {
    border-left-color: #ffc107;
}

.task-item.priority-low {
    border-left-color: #28a745;
}

.task-content {
    flex: 1;
}

.task-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.task-due {
    font-size: 12px;
    color: #666;
}

.no-tasks {
    text-align: center;
    padding: 30px;
    color: #999;
}

/* Hire Agreements Card */
.hire-agreements-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.agreements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.agreements-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.agreements-status {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

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

.agreement-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 4px;
}

.agreement-label {
    font-size: 14px;
    color: #666;
}

/* Booking Page */
.venue-section,
.items-section {
    margin-bottom: 40px;
}

.venue-section h2,
.items-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.venue-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.venue-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.venue-info-item {
    padding: 15px 0;
}

.venue-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.venue-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Product Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.product-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.product-details {
    padding: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-quantity,
.product-price,
.product-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.meta-label {
    color: #666;
}

.meta-value {
    font-weight: 600;
}

.total-price {
    color: #007bff;
    font-size: 16px;
}

/* Cost Breakdown */
.cost-breakdown {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    max-width: 400px;
    margin-left: auto;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
}

.breakdown-row:last-child {
    border-bottom: none;
}

.discount-row {
    color: #28a745;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid #dee2e6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .dashboard-main {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .countdown-number {
        font-size: 56px;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .venue-info-grid {
        grid-template-columns: 1fr;
    }
}
