.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

button, input, textarea {
    font-family: inherit; /* This makes buttons use the body font */
}

p, label {
    font-family: Arial, sans-serif;
}

.user-name {
    color: rgba(255,255,255,0.9);
    font-size: 1.2em;
}

.recommendations-grid {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px; */
    display: grid;
    gap: 30px;
}

.section-title {
    color: #562039;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 0;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.event-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #66D7D1, #2BA6A0);
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: #66D7D1;
    box-shadow: 0 10px 30px rgba(102, 215, 209, 0.2);
}

/* Hover colors based on RSVP status */
.event-card.going:hover {
    border-color: #45BA83;
    box-shadow: 0 10px 30px rgba(102, 215, 209, 0.3);
}

.event-card.interested:hover {
    border-color: #E29578;
    box-shadow: 0 10px 30px rgba(123, 46, 82, 0.3);
}

.event-card.maybe_next_time:hover {
    border-color: #457CBA;
    box-shadow: 0 10px 30px rgba(86, 32, 57, 0.3);
}

/* Subtle blue on hover for meta */
.event-card:hover .meta-item:not(:has(.price)) {
    color: #2BA6A0;
}

.event-card:hover .meta-item .price {
    color: #2BA6A0;
}

.event-header {
    background: linear-gradient(135deg, #7B2E52, #562039);
    color: white;
    padding: 20px;
    text-align: center;
}

.event-image, .venue-image {
    height: 200px;
    background: linear-gradient(135deg, #66D7D1, #7B2E52);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
}

.event-image img, .venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content, .venue-content {
    padding: 25px;
}

.event-meta, .venue-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.icon-img {
    width: 40px;  /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    object-fit: contain;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.meta-item .icon {
    font-size: 1.1em;
}

.price {
    color: #7B2E52;
    font-weight: 600;
}

.organizer {
    color: #66D7D1;
    font-weight: 500;
}

.event-card, .venue-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.event-card:hover, .venue-card:hover {
    transform: translateY(-3px);
}

.event-image, .venue-image {
    height: 160px;
    background: linear-gradient(135deg, #66D7D1, #7B2E52);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5em;
}

.event-content, .venue-content {
    padding: 20px;
}

.card-title {
    font-size: 1.3em;
    color: #7B2E52;
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-meta, .venue-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: #666;
}


.card-description {
    color: #666;
    line-height: 1.4;
    font-size: 0.9em;
    margin: 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-left: 12px;
    border-left: 3px solid #66D7D1;
}

.match-reason {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8em;
    color: #666;
    border-left: 3px solid #66D7D1;
    margin-top: 15px;
}

/* Unified grid */
.events-grid, .venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.event-rsvp-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    z-index: 2;
}

.event-rsvp-status.going {
    background: #45BA83;
    color: #062726;
}

.event-rsvp-status.interested {
    background: #E29578;
    color: #562039;
}

.event-rsvp-status.maybe_next_time {
    background: #457CBA;
    color: #062726;
}

.no-results {
    text-align: center;
    color: white;
    padding: 60px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    margin: 20px 0;
}

.take-quiz-btn {
    background: white;
    color: #7B2E52;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.take-quiz-btn:hover {
    background: #7B2E52;
    color: white;
}

.track-section {
    margin-bottom: 0;
}

.track-title {
    color: #7B2E52;
    font-size: 1.8em;
    margin-bottom: 10px;
    text-align: center;
}

.track-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.primary-track .track-title {
    color: #66D7D1; /* Highlight primary track */
}

.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tracks-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.track-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.track-card:hover {
    transform: translateY(-3px);
}

.track-header {
    background: linear-gradient(135deg, #7B2E52, #562039);
    color: white;
    padding: 20px;
    text-align: center;
}

.track-name {
    font-size: 1.3em;
    margin-bottom: 5px;
}

.track-archetypes {
    font-size: 0.9em;
    opacity: 0.9;
}

.event-content {
    padding: 20px;
}

.track-venues {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.venue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.venue-item:hover {
    background: #e9ecef;
}

.venue-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #66D7D1, #2BA6A0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.venue-info {
    flex: 1;
}

.venue-name {
    font-weight: 600;
    color: #7B2E52;
    margin-bottom: 4px;
}

.venue-time {
    font-size: 0.85em;
    color: #666;
}

.view-track-btn {
    width: 100%;
    background: #7B2E52;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.view-track-btn:hover {
    background: #562039;
}

.user-archetype {
    color: #66D7D1;
    font-size: 1.1em;
    margin-top: 5px;
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .events-grid, .venues-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .event-content, .venue-content {
        padding: 15px;
    }
    
    .welcome-title {
        font-size: 2em;
    }
    
    /* .nav-content {
        flex-direction: column;
        gap: 15px;
    } */
    .event-meta, .venue-meta {
        grid-template-columns: 1fr;
    }
    
    .event-actions, .venue-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}


.hidden {
    display: none;
}

.user-welcome {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(86, 32, 57, 0.1);
    border: 1px solid rgba(86, 32, 57, 0.1);
    position: relative;
    overflow: hidden;
}


.user-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2BA6A0, #562039);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 4px 12px rgba(86, 32, 57, 0.2);
}

.user-greeting {
    font-size: 1.4em;
    color: #562039;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .user-welcome {
        padding: 30px 20px;
    }
    
    .welcome-title {
        font-size: 2.2em;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .user-greeting {
        font-size: 1.2em;
    }
    
    .welcome-subtitle {
        font-size: 1.1em;
    }
}

.section-header {
    margin-bottom: 40px; /* Increased space between title and grid */
    text-align: center;
}

.section-title {
    font-size: 2.2em;
    color: #562039;
    font-weight: 700;
    margin-bottom: 15px; /* Space between title and underline */
    letter-spacing: -0.3px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2BA6A0, #562039);
    margin: 0 auto;
    border-radius: 2px;
}

.events-grid {
    margin-top: 20px; /* Additional space above the grid */
}

/* If you want even more spacing, you can adjust these values */
.content-card {
    padding: 40px 30px; /* Ensure enough padding in the card */
}