/**
 * ZipPicks Core - Card Styles
 * Master Critic cards with clean backgrounds and original score design
 */

/* Master Critic Card Base - White background instead of colored */
.zp-mc-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.zp-mc-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: #d0d0d0;
}

/* Header */
.zp-mc-card-header {
    margin-bottom: 16px;
}

.zp-mc-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 16px;
}

.zp-mc-card-name {
    margin: 0;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    flex: 1;
}

.zp-mc-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.zp-mc-card-name a:hover {
    color: #0066cc;
}

/* Original Score Badge Design - Keeping as it was */
.zp-mc-card-score {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    min-width: 60px;
    text-align: center;
}

/* Meta Information */
.zp-mc-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.95em;
    color: #666;
    flex-wrap: wrap;
}

.zp-mc-card-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.zp-mc-price {
    font-weight: 600;
    color: #2e7d32;
}

.zp-mc-cuisine {
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.9em;
}

/* Summary */
.zp-mc-card-summary {
    margin: 16px 0;
    line-height: 1.6;
    color: #333;
    font-size: 1em;
}

/* Vibes */
.zp-mc-card-vibes {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.zp-mc-vibe {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85em;
    color: #495057;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.zp-mc-vibe:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateY(-1px);
}

.zp-mc-vibe-more {
    background: #6c757d;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8em;
    font-weight: 600;
}

/* Address */
.zp-mc-card-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    color: #666;
    font-size: 0.95em;
}

.zp-mc-address-icon {
    font-size: 0.9em;
}

/* Card Actions Container */
.zp-mc-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .zp-mc-card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .zp-mc-card-title-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .zp-mc-card-name {
        font-size: 1.15em;
    }
    
    .zp-mc-card-score {
        align-self: flex-start;
    }
    
    .zp-mc-card-summary {
        font-size: 0.9em;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .zp-mc-card {
        background: #1e1e1e;
        border-color: #333;
    }
    
    .zp-mc-card-name {
        color: #f0f0f0;
    }
    
    .zp-mc-card-summary {
        color: #d0d0d0;
    }
    
    .zp-mc-price {
        color: #aaa;
    }
    
    .zp-mc-card-score {
        background: #2563eb;
    }
}