/**
 * Microphone Specs Manager Styles
 * 
 * This stylesheet contains all the frontend styles for 
 * displaying microphone specifications.
 */

/* Main container styles */
.msm-specs-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 100%;
    animation: msm-fade-in 0.3s ease-in-out;
}

/* Featured image styles */
.msm-featured-image {
    margin-bottom: 2rem;
    text-align: center;
}

.msm-microphone-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes msm-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Title styles */
.msm-specs-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #3b82f6;
}

/* Grid layout */
.msm-specs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Table styles */
.msm-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.msm-specs-table th,
.msm-specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.msm-specs-table th {
    width: 40%;
    font-weight: 600;
    color: #4b5563;
    background-color: #f9fafb;
}

.msm-specs-table tr:last-child th,
.msm-specs-table tr:last-child td {
    border-bottom: none;
}

.msm-specs-table tr:hover {
    background-color: #f3f4f6;
    transition: background-color 0.2s ease;
}

/* Rating styles */
.msm-rating-value {
    font-weight: 600;
    margin-right: 0.75rem;
    color: #1a1a1a;
}

.msm-rating-stars {
    color: #f97316;
    letter-spacing: 2px;
    font-size: 1.1em;
}

/* Audio sample styles */
.msm-audio-sample {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.msm-audio-sample h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.msm-audio-sample audio {
    width: 100%;
    margin-top: 0.75rem;
}

/* Affiliate section styles */
.msm-affiliate-section {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.msm-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.msm-buy-button {
    display: inline-block;
    background-color: #f97316;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.msm-buy-button:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Pros & Cons styles */
.msm-pros-cons {
    margin-top: 1.5rem;
}

.msm-pros,
.msm-cons {
    background-color: #f8fafc;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.msm-pros h4,
.msm-cons h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.msm-pros ul,
.msm-cons ul {
    margin: 0;
    padding-left: 1.5rem;
}

.msm-pros ul li,
.msm-cons ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.msm-pros h4 {
    color: #059669;
}

.msm-cons h4 {
    color: #dc2626;
}

/* Meta box styles */
.msm-meta-box {
    padding: 1.25rem;
}

.msm-meta-box h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    color: #1a1a1a;
}

.msm-meta-box label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    color: #4b5563;
}

.msm-meta-box input,
.msm-meta-box textarea {
    margin-bottom: 1rem;
}

.msm-meta-box .description {
    color: #6b7280;
    font-style: italic;
    font-size: 0.9em;
    margin-top: 0.25rem;
}

/* Shortcode specific styles */
.msm-shortcode-container {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.msm-shortcode-title {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.msm-shortcode-title a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.msm-shortcode-title a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.msm-error {
    color: #dc2626;
    padding: 1rem;
    border: 1px solid #fca5a5;
    background-color: #fee2e2;
    border-radius: 8px;
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
    .msm-specs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .msm-specs-container {
        padding: 1rem;
    }
    
    .msm-specs-table th,
    .msm-specs-table td {
        padding: 0.75rem;
    }
    
    .msm-specs-table th {
        width: 35%;
    }
    
    .msm-audio-sample {
        padding: 1rem;
    }

    .msm-price {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 480px) {
    .msm-specs-title {
        font-size: 1.5rem;
    }
    
    .msm-specs-table th,
    .msm-specs-table td {
        display: block;
        width: 100%;
    }
    
    .msm-specs-table th {
        border-bottom: none;
        padding-bottom: 0.25rem;
    }
    
    .msm-specs-table td {
        padding-top: 0.25rem;
    }

    .msm-buy-button {
        width: 100%;
        text-align: center;
    }
}