/* Pros Cons Only Widget - Main Styles */

/* Reset and Base */
.prosconsonly-widget * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.prosconsonly-widget {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    line-height: 1.6;
    font-weight: 400;
    width: 100%;
    position: relative;
}

/* Container */
.prosconsonly-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 
        0 40px 80px rgba(15, 23, 42, 0.06),
        0 20px 40px rgba(15, 23, 42, 0.04),
        0 10px 20px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(148, 163, 184, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.prosconsonly-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899, #f97316, #fbbf24, #7c3aed);
    background-size: 500% 100%;
    animation: luxuryShimmer 8s ease-in-out infinite;
    border-radius: 32px 32px 0 0;
    opacity: 0.9;
}

.prosconsonly-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(600px circle at 30% 20%, rgba(124, 58, 237, 0.03), transparent 50%),
        radial-gradient(800px circle at 70% 80%, rgba(236, 72, 153, 0.02), transparent 50%);
    pointer-events: none;
    border-radius: 32px;
    z-index: 1;
}

@keyframes luxuryShimmer {
    0%, 100% { 
        background-position: -200% 0;
        opacity: 0.7;
    }
    50% { 
        background-position: 300% 0;
        opacity: 1;
    }
}

/* Header Section */
.prosconsonly-header {
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(15, 23, 42, 0.15),
        0 12px 24px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.prosconsonly-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(124, 58, 237, 0.15), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.12), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.prosconsonly-title {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.prosconsonly-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    line-height: 1.6;
    margin: 0;
}

/* Divider */
.prosconsonly-divider {
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6);
    margin: 25px 0;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.prosconsonly-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: dividerShine 3s ease-in-out infinite;
}

@keyframes dividerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Grid Layout */
.prosconsonly-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.prosconsonly-layout-stacked .prosconsonly-grid {
    grid-template-columns: 1fr;
}

/* Sections */
.prosconsonly-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(15, 23, 42, 0.04),
        0 10px 20px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.prosconsonly-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(400px circle at 20% 20%, rgba(124, 58, 237, 0.02), transparent 50%),
        radial-gradient(600px circle at 80% 80%, rgba(236, 72, 153, 0.015), transparent 50%);
    pointer-events: none;
    border-radius: 16px;
}

/* Section Titles */
.prosconsonly-section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.prosconsonly-pros-title {
    color: #10b981;
}

.prosconsonly-cons-title {
    color: #ef4444;
}

/* Lists */
.prosconsonly-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Items */
.prosconsonly-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    transform: translateZ(0); /* Performance optimization */
}

.prosconsonly-item:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.prosconsonly-item:last-child {
    margin-bottom: 0;
}

/* Item Icons */
.prosconsonly-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-weight: 600;
    font-size: 16px;
    margin-top: 2px;
}

.prosconsonly-pros-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.prosconsonly-cons-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* Item Text */
.prosconsonly-item-text {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    flex: 1;
}

/* Dark Theme */
.prosconsonly-theme-dark .prosconsonly-container {
    background: rgba(15, 23, 42, 0.95);
    color: #f8fafc;
}

.prosconsonly-theme-dark .prosconsonly-header {
    background: linear-gradient(135deg, #1e293b, #334155, #475569);
}

.prosconsonly-theme-dark .prosconsonly-section {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prosconsonly-theme-dark .prosconsonly-item {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prosconsonly-theme-dark .prosconsonly-item:hover {
    background: rgba(30, 41, 59, 0.6);
}

.prosconsonly-theme-dark .prosconsonly-item-text {
    color: #cbd5e1;
}

/* Performance Optimizations */
.prosconsonly-widget {
    will-change: transform;
    contain: layout style paint;
}

.prosconsonly-container {
    transform: translateZ(0);
}

.prosconsonly-item {
    will-change: transform;
}

/* Accessibility */
.prosconsonly-item:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.prosconsonly-widget [role="button"]:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
} 