:root {
    --primary-blue: #1e40af;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e3a8a;
    --accent-orange: #f97316;
    --accent-orange-light: #fb923c;
    --accent-green: #10b981;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #64748b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}


/* Podcast Player Styles */
.podcast-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    animation: slideInUp 0.3s ease;
}

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

.player-header {
    padding: 15px;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.player-content {
    padding: 20px;
}

.album-art {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-info h5 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.track-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.progress-container {
    margin-bottom: 10px;
    position: relative;
}

.progress-bar {
    height: 4px;
    background: #4CAF50;
    width: 0%;
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Video Player Modal Styles */
.video-player-container {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-player-container video {
    width: 100%;
    height: 400px;
    background: #000;
}

.video-info {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #eaeaea;
}

.video-thumbnail {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-details {
    flex: 1;
}

.video-details h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
}

.video-details p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #888;
}

.video-category {
    background: #e0f2fe;
    color: #0369a1;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.video-duration {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-duration::before {
    content: '⏱️';
    font-size: 12px;
}

.video-views::before {
    content: '👁️';
    margin-right: 3px;
}

/* Responsive video player */
@media (max-width: 768px) {
    .video-player-container video {
        height: 300px;
    }
    
    .video-info {
        flex-direction: column;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 150px;
    }
}

.progress-slider {
    width: 100%;
    height: 4px;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    position: relative;
    z-index: 2;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.control-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.control-btn:hover {
    background-color: #f5f5f5;
}

.play-pause-btn {
    background: #4CAF50 !important;
    width: 50px;
    height: 50px;
    color: white !important;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 80px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .podcast-player {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
    gap: 0.75rem;
}

.logo-img {
    height: 5.5rem;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.cta-nav {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
}

.nav-links a.cta-nav:hover {
    background-color: var(--primary-blue-dark);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary-blue-dark);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.email-subscribe {
    max-width: 500px;
    margin: 0 auto 4rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.subscribe-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.subscribe-btn:hover {
    background-color: var(--primary-blue-dark);
}

.form-note {
    font-size: 0.875rem;
    color: var(--dark-gray);
    text-align: center;
}

.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.feature {
    text-align: center;
    max-width: 250px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: white;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-size: 1.25rem;
}

.feature p {
    color: var(--text-light);
}

/* Section Common Styles */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary-blue-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--accent-orange);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--accent-orange-light);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Blog Section */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.read-time {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-blue-dark);
    gap: 0.75rem;
}

/* Podcast Section */
.podcast-section {
    background-color: var(--light-gray);
}

.podcast-container {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.podcast-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.podcast-episode {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.episode-badge {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.podcast-episode h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.episode-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.episode-meta i {
    margin-right: 0.25rem;
}

.episode-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.podcast-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-play {
    background-color: var(--primary-blue);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-play:hover {
    background-color: var(--primary-blue-dark);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--medium-gray);
    transition: var(--transition);
}

.btn-download:hover {
    border-color: var(--primary-blue);
    background-color: rgba(59, 130, 246, 0.05);
}

.podcast-subscribe p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    font-weight: 500;
}

.platform-link:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background-color: rgba(59, 130, 246, 0.05);
}

.platform-link i {
    font-size: 1.25rem;
}

/* Podcast Player */
.podcast-player {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 6rem;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.player-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: var(--medium-gray);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
}

.player-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.album-art {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: auto; /* Maintains proportion based on width */
    aspect-ratio: 16 / 9; /* Forces landscape shape (widescreen) */
    object-fit: cover; /* Ensures image covers area without stretching */
    background-color: var(--medium-gray);
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

.album-art:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 3rem;
    color: white;
}

.track-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.track-info p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.audio-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-container {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.progress-bar {
    position: absolute;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    width: 0%;
    z-index: 1;
}

.progress-slider {
    position: absolute;
    width: 100%;
    height: 20px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
}

.control-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.play-pause-btn {
    background-color: var(--primary-blue);
    color: white;
    font-size: 1.25rem;
}

.play-pause-btn:hover {
    background-color: var(--primary-blue-dark);
    color: white;
}

/* Shop Section */
.shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.product-badge:nth-child(1) {
    background-color: var(--accent-orange);
}

.product-badge:nth-child(2) {
    background-color: var(--primary-blue);
}

.product-badge:nth-child(3) {
    background-color: var(--accent-green);
}

.product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex: 1;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount {
    background-color: #fef2f2;
    color: #dc2626;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.points-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background-color: #f0f9ff;
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.points-badge:before {
    content: '+';
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-add-to-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-to-cart:hover {
    background-color: var(--primary-blue-dark);
}

.btn-wishlist {
    background: none;
    border: 2px solid var(--medium-gray);
    color: var(--text-light);
    width: 3rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wishlist:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Community Section */
.community-section {
    background-color: var(--light-gray);
}

.community-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.community-card, .membership-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.community-card h3, .membership-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefits-list li i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 0.25rem;
}

.benefits-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.benefits-list p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.community-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.community-actions {
    display: flex;
    gap: 1rem;
}

/* Membership Card */
.membership-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.points-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.points-badge-large {
    background-color: #f0f9ff;
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
    text-align: center;
}

.points-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.points-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.btn-points-info {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-points-info:hover {
    color: var(--primary-blue);
}

.membership-status {
    background-color: var(--light-gray);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.status-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.member-level {
    color: var(--text-light);
    font-size: 0.875rem;
}

.points-earning {
    padding: 1rem;
    background-color: white;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-orange);
}

.points-earning p {
    color: var(--text-dark);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.points-earning i {
    color: var(--accent-orange);
    margin-right: 0.5rem;
}

.points-note {
    color: var(--text-light) !important;
    font-size: 0.75rem !important;
    margin-top: 0.5rem;
}

.rewards-list h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.rewards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.reward-item:hover {
    background-color: #e0f2fe;
}

.reward-cost {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 5rem;
    text-align: center;
}

/* Membership Tiers */
.membership-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tier-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 2px solid var(--medium-gray);
    position: relative;
}

.tier-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
}

.tier-card.featured {
    border-color: var(--accent-orange);
    transform: scale(1.05);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-0.5rem);
}

.tier-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.tier-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.tier-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.tier-description {
    color: var(--text-light);
    font-size: 0.875rem;
}

.tier-benefits {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.tier-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tier-benefits li.disabled {
    color: var(--text-light);
}

.tier-benefits li i {
    font-size: 1rem;
}

.tier-benefits li i.fa-check {
    color: var(--accent-green);
}

.tier-benefits li i.fa-times {
    color: var(--dark-gray);
}

.tier-btn {
    width: 100%;
    margin-top: auto;
}

.current-tier {
    background-color: var(--medium-gray);
    color: var(--text-dark);
    cursor: default;
}

.current-tier:hover {
    background-color: var(--medium-gray);
    color: var(--text-dark);
}

/* Footer */
footer {
    background-color: var(--primary-blue-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .logo {
    color: white;
}

.footer-tagline {
    color: #cbd5e1;
    font-size: 1.125rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-0.25rem);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.footer-column a:hover {
    color: white;
    padding-left: 0.25rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-newsletter {
    flex: 1;
    min-width: 300px;
}

.footer-newsletter h4 {
    margin-bottom: 1rem;
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: white;
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: #cbd5e1;
}

.newsletter-form input:focus {
    outline: none;
    border-color: white;
}

.newsletter-form button {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background-color: var(--accent-orange-light);
}

.footer-copyright {
    text-align: right;
    color: #cbd5e1;
    font-size: 0.875rem;
}

.footer-copyright p {
    margin-bottom: 0.5rem;
}

.footer-links-small {
    margin-bottom: 0.5rem;
}

.footer-links-small a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links-small a:hover {
    color: white;
    text-decoration: underline;
}

.follow-text {
    font-size: 0.75rem;
}

.follow-text a {
    color: #cbd5e1;
    text-decoration: none;
}

.follow-text a:hover {
    color: white;
    text-decoration: underline;
}

/* Cart Icon */
.cart-icon {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-blue);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.cart-icon:hover {
    background-color: var(--primary-blue-dark);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background-color: var(--accent-orange);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.modal-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

.cart-empty p {
    margin-bottom: 1.5rem;
}

.cart-items {
    display: none;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--light-gray);
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: none;
    border: 1px solid var(--medium-gray);
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.quantity {
    margin: 0 0.5rem;
    font-weight: 600;
}

.remove-item {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    color: #dc2626;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--medium-gray);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cart-total p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.points-earned {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.btn-checkout {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .podcast-container,
    .community-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tier-card.featured {
        transform: none;
    }
    
    .tier-card.featured:hover {
        transform: translateY(-0.5rem);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-container.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-links a.cta-nav {
        margin-top: 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .subscribe-btn {
        width: 100%;
    }
    
    .features {
        gap: 2rem;
    }
    
    .feature {
        max-width: 100%;
        flex-basis: calc(50% - 1rem);
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .blog-posts,
    .shop-items {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .podcast-player {
        position: static;
    }
    
    .membership-tiers {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .footer-copyright {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .feature {
        flex-basis: 100%;
    }
    
    .blog-posts,
    .shop-items {
        grid-template-columns: 1fr;
    }
    
    .podcast-actions,
    .community-actions {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .podcast-episode h3 {
        font-size: 1.5rem;
    }
    
    .cart-icon {
        bottom: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}
/* Accordion Container - Hidden by default */
.account-accordion-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

/* Class added by JS to open it */
.account-accordion-wrapper.open {
    max-height: 500px; /* Adjust if form gets longer */
    border: 1px solid #e5e7eb;
    border-top: none;
    margin-top: -10px; /* Connect visually to top section */
    margin-bottom: 20px;
}

.account-form-inner {
    padding: 1.5rem;
}

.account-form-inner h4 {
    margin-bottom: 1rem;
    color: var(--text-dark, #333);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.form-status {
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: center;
}

/* Add these to your existing style.css */

/* Modal sizes */
.modal-sm {
    max-width: 400px;
}

.modal-lg {
    max-width: 800px;
}

/* File info */
.file-info {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.file-info p {
    margin: 0;
}

/* Upload progress */
.upload-progress {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.progress-bar {
    height: 6px;
    background: #eaeaea;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Blog stats */
.blog-stats {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.blog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.btn-like {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.btn-like:hover {
    color: #ff4757;
}

.btn-like.liked {
    color: #ff4757;
}

/* Podcast stats */
.podcast-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

/* Section header improvements */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Form status */
.form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Podcast Player Styles */
.podcast-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 1000;
    border-top: 2px solid #eaeaea;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.player-header h4 {
    margin: 0;
    color: #333;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 100px;
}

.player-content {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.album-art {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-art:hover .play-overlay {
    opacity: 1;
}

.track-info {
    flex: 1;
}

.track-info h5 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.track-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.audio-controls {
    flex: 2;
}

.progress-container {
    position: relative;
    margin-bottom: 0.5rem;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: #4CAF50;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-slider {
    position: relative;
    width: 100%;
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

.progress-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: none;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.control-btn {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #e9ecef;
    transform: scale(1.1);
}

.play-pause-btn {
    background: #4CAF50;
    color: white;
    width: 50px;
    height: 50px;
}

.play-pause-btn:hover {
    background: #45a049;
}

@media (max-width: 768px) {
    .player-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .audio-controls {
        width: 100%;
    }
    
    .track-info {
        text-align: center;
    }
}

/* Enhanced Progress Bar Styles */
.upload-progress {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.upload-progress.active {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    width: 0%;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: shimmer 2s infinite;
    transform: translateX(-100%);
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    text-align: center;
    color: #475569;
    font-size: 0.95rem;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

.upload-status {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #334155;
    text-align: center;
    border-left: 4px solid #3b82f6;
}

.file-info {
    margin-top: 1rem;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.file-info p {
    margin: 0.25rem 0;
}

.file-info strong {
    color: #1e293b;
}

.success-pulse {
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

/* Upload speed indicator */
.upload-speed {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Cancel upload button */
.cancel-upload {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s ease;
}

.cancel-upload:hover {
    background: #dc2626;
}

.cancel-upload:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}


/* ========== HEADERAUTH STYLES - Matches your HTML exactly ========== */

#headerAuth {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

#headerAuth .user-menu {
    position: relative;
    display: inline-block;
}

#headerAuth .user-greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#headerAuth .user-greeting:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

#headerAuth .user-greeting i:first-child {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

#headerAuth .user-greeting span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#headerAuth .user-greeting i:last-child {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

#headerAuth .user-menu:hover .user-greeting i:last-child {
    transform: rotate(180deg);
}

#headerAuth .user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

#headerAuth .user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#headerAuth .user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    z-index: -1;
}

#headerAuth .user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e2e8f0;
}

#headerAuth .user-dropdown a:last-child {
    border-bottom: none;
}

#headerAuth .user-dropdown a:hover {
    background: #f8fafc;
    color: #1e40af;
    padding-left: 1.5rem;
}

#headerAuth .user-dropdown a i {
    width: 20px;
    color: #1e40af;
    font-size: 1rem;
    text-align: center;
}

#headerAuth .user-dropdown a:last-child i {
    color: #dc2626;
}

#headerAuth .user-dropdown a:last-child:hover {
    color: #dc2626;
    background: #fee2e2;
}

#headerAuth .user-dropdown a:last-child:hover i {
    color: #dc2626;
}

/* Login button when not logged in */
#headerAuth .btn-outline.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border: 2px solid #1e40af;
    background: transparent;
    color: #1e40af;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

#headerAuth .btn-outline.btn-sm:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

#headerAuth .btn-outline.btn-sm i {
    font-size: 0.9rem;
}

/* Animation for dropdown items */
#headerAuth .user-dropdown a {
    animation: slideIn 0.3s ease forwards;
    animation-delay: calc(var(--item-index) * 0.05s);
    opacity: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#headerAuth .user-dropdown a:nth-child(1) { --item-index: 0; }
#headerAuth .user-dropdown a:nth-child(2) { --item-index: 1; }
#headerAuth .user-dropdown a:nth-child(3) { --item-index: 2; }
#headerAuth .user-dropdown a:nth-child(4) { --item-index: 3; }
#headerAuth .user-dropdown a:nth-child(5) { --item-index: 4; }

/* Responsive styles */
@media (max-width: 768px) {
    #headerAuth {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    #headerAuth .user-menu {
        width: 100%;
    }
    
    #headerAuth .user-greeting {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 1rem;
    }
    
    #headerAuth .user-greeting span {
        flex: 1;
        text-align: left;
    }
    
    #headerAuth .user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        margin-top: 0.5rem;
        width: 100%;
        animation: none;
    }
    
    #headerAuth .user-dropdown::before {
        display: none;
    }
    
    #headerAuth .user-dropdown a {
        opacity: 1;
        animation: none;
        padding: 1rem 1.2rem;
    }
    
    #headerAuth .btn-outline.btn-sm {
        width: 100%;
        justify-content: center;
    }
}