/**
 * CSS cho Template Membership Plans
 * Được load riêng để tránh xung đột với theme
 */

/* Container chính của template */
.thuongdq-membership-page-wrapper {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafb 0%, #eef2f7 100%);
    min-height: 60vh;
}

.thuongdq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.thuongdq-main-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
}

.thuongdq-main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a8d8ea 0%, #7fb3d3 50%, #5499c7 100%);
}

/* Header của page */
.thuongdq-page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.thuongdq-page-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #5a9fd4 0%, #306998 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thuongdq-page-description {
    font-size: 1.1em;
    color: #4a6741;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.thuongdq-page-description p {
    margin-bottom: 15px;
}

.thuongdq-page-description p:last-child {
    margin-bottom: 0;
}

/* Container cho membership plans */
.thuongdq-membership-plans-container {
    margin-bottom: 50px;
    position: relative;
}

/* Section comments */
.thuongdq-comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

/* Animation effects */
.thuongdq-main-content {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects cho các elements */
.thuongdq-page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #a8d8ea 0%, #5499c7 100%);
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .thuongdq-membership-page-wrapper {
        padding: 20px 0;
    }
    
    .thuongdq-container {
        padding: 0 15px;
    }
    
    .thuongdq-main-content {
        padding: 25px;
        border-radius: 10px;
    }
    
    .thuongdq-page-title {
        font-size: 2.2em;
    }
    
    .thuongdq-page-header {
        margin-bottom: 35px;
        padding-bottom: 25px;
    }
    
    .thuongdq-page-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .thuongdq-membership-page-wrapper {
        padding: 15px 0;
    }
    
    .thuongdq-main-content {
        padding: 20px;
        margin: 0 10px;
    }
    
    .thuongdq-page-title {
        font-size: 1.8em;
    }
    
    .thuongdq-page-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .thuongdq-membership-plans-container {
        margin-bottom: 30px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .thuongdq-membership-page-wrapper {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
    
    .thuongdq-main-content {
        background: #2c3e50;
        color: #ecf0f1;
    }
    
    .thuongdq-page-description {
        color: #bdc3c7;
    }
    
    .thuongdq-page-header {
        border-bottom-color: #34495e;
    }
    
    .thuongdq-comments-section {
        border-top-color: #34495e;
    }
}

/* Print styles */
@media print {
    .thuongdq-membership-page-wrapper {
        background: none !important;
        padding: 0 !important;
    }
    
    .thuongdq-main-content {
        box-shadow: none !important;
        padding: 20px !important;
    }
    
    .thuongdq-page-title {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }
}
