/**
 * Group Planning - Complete Redesign
 * Modern, functional, and visually appealing interface
 */

/* ===================================
   HERO SECTION REDESIGN
   =================================== */

.group-planning-hero {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(10, 10, 10, 0.95) 100%),
                url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?w=1600') center/cover;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.group-planning-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.group-planning-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.group-planning-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.group-planning-hero p {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-create-event {
    background: linear-gradient(135deg, #D4AF37 0%, #E5C158 100%);
    color: #0a0a0a;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.btn-create-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.btn-view-feed {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-view-feed:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
}

/* ===================================
   PLANNING LAYOUT
   =================================== */

.planning-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 40px;
}

.planning-main {
    min-width: 0;
}

.planning-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* ===================================
   SECTION HEADERS
   =================================== */

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.section-header-inline h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 10px;
}

.filter-tab {
    padding: 8px 20px;
    background: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
    background: linear-gradient(135deg, #D4AF37 0%, #E5C158 100%);
    color: #0a0a0a;
}

/* ===================================
   EVENT CARDS - REDESIGNED
   =================================== */

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37 0%, #E5C158 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.event-card:hover::before {
    opacity: 1;
}

.event-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.event-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.event-date i {
    color: #D4AF37;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.planning {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.confirmed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.upcoming {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.1) 100%);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ===================================
   PARTICIPANTS SECTION
   =================================== */

.event-participants {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 20px;
}

.participants-avatars {
    display: flex;
    align-items: center;
}

.participants-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
    margin-left: -12px;
    transition: all 0.3s ease;
}

.participants-avatars img:first-child {
    margin-left: 0;
}

.participants-avatars img:hover {
    transform: translateY(-4px) scale(1.1);
    z-index: 10;
    border-color: #D4AF37;
}

.more-participants {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    border: 3px solid #1a1a1a;
    margin-left: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #D4AF37;
}

.participants-count {
    font-size: 0.95rem;
    color: #b0b0b0;
    font-weight: 600;
}

/* ===================================
   VOTING SECTION - ENHANCED
   =================================== */

.event-voting {
    margin-bottom: 20px;
}

.event-voting h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-voting h4::before {
    content: '🗳️';
    font-size: 1.2rem;
}

.voting-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voting-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.voting-option:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.voting-option.voted {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

.voting-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.voting-option-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.05rem;
}

.voting-option-votes {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #D4AF37;
    font-weight: 700;
}

.voting-option-votes i {
    font-size: 0.9rem;
}

.voting-option-details {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.voting-option-detail {
    display: flex;
    align-items: center;
    gap: 6px;
}

.voting-option-detail i {
    color: #D4AF37;
}

.voting-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 12px;
}

.voting-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37 0%, #E5C158 100%);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.vote-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #D4AF37 0%, #E5C158 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.vote-btn.voted {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 2px solid #34d399;
}

/* ===================================
   EVENT ACTIONS
   =================================== */

.event-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-action-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.event-action-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    color: #D4AF37;
}

.event-action-btn i {
    font-size: 1rem;
}

/* ===================================
   SIDEBAR WIDGETS
   =================================== */

.sidebar-widget {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: #D4AF37;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: #b0b0b0;
}

/* Upcoming Events List */
.upcoming-events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upcoming-event-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upcoming-event-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.upcoming-event-date {
    font-size: 0.8rem;
    color: #D4AF37;
    font-weight: 600;
    margin-bottom: 6px;
}

.upcoming-event-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.upcoming-event-participants {
    font-size: 0.85rem;
    color: #b0b0b0;
}

/* Friend Suggestions */
.friend-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.friend-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.friend-suggestion-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
}

.friend-suggestion-info {
    flex: 1;
}

.friend-suggestion-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.friend-suggestion-mutual {
    font-size: 0.85rem;
    color: #b0b0b0;
}

.invite-friend-btn {
    padding: 6px 16px;
    background: linear-gradient(135deg, #D4AF37 0%, #E5C158 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.invite-friend-btn:hover {
    transform: scale(1.05);
}

/* ===================================
   CREATE EVENT MODAL
   =================================== */

.create-event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.create-event-modal.active {
    display: flex;
}

.create-event-content {
    background: #1a1a1a;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.create-event-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.create-event-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.modal-close-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #ff6b6b;
}

.create-event-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #b0b0b0;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #D4AF37;
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.create-event-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-create {
    padding: 12px 32px;
    background: linear-gradient(135deg, #D4AF37 0%, #E5C158 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .planning-layout {
        grid-template-columns: 1fr;
    }
    
    .planning-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .group-planning-hero h1 {
        font-size: 2rem;
    }
    
    .group-planning-hero p {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-create-event,
    .btn-view-feed {
        width: 100%;
        justify-content: center;
    }
    
    .event-card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .event-participants {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
}
</file_path>