.container { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 40px 20px; /* Added padding for mobile */
}


/* .content-card { 
    background: white; 
    border-radius: 16px; 
    padding: 30px; 
    margin-bottom: 30px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
} */

/* .welcome-title { 
    color: #562039; 
    text-align: center; 
    margin-bottom: 10px; 
    font-size: 2.5em; 
}

.welcome-subtitle { 
    color: #666; 
    text-align: center; 
    font-size: 1.2em; 
} */

/* Filters */
.rsvp-filters { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 30px; 
    flex-wrap: wrap; 
}

.filter-btn { 
    padding: 10px 20px; 
    border: 2px solid #562039; 
    background: white; 
    color: #562039; 
    border-radius: 25px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    font-weight: 500; 
}

.filter-btn.active, .filter-btn:hover { 
    background: #562039; 
    color: white; 
}

/* RSVP Cards */
.rsvps-container { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.rsvp-card { 
    background: white; 
    border-radius: 12px; 
    padding: 20px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    position: relative; 
    transition: all 0.3s ease; 
}

/* Status Colors - Top Border + Left Border */
.rsvp-card::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 4px; 
    border-radius: 12px 12px 0 0; 
}

.rsvp-card.going { 
    border-left: 4px solid #45BA83; 
    border-top: 4px solid #45BA83;
}

.rsvp-card.interested { 
    border-left: 4px solid #E29578; 
    border-top: 4px solid #E29578;
}

.rsvp-card.maybe_next_time { 
    border-left: 4px solid #457CBA; 
    border-top: 4px solid #457CBA;
}

/* Floating Status Corner */
.rsvp-status-corner {
    position: absolute; 
    top: 15px; 
    right: 15px; 
    padding: 6px 12px; 
    border-radius: 8px; 
    font-size: 0.75em; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    z-index: 2;
}

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

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

.rsvp-status-corner.maybe { 
    background: #457CBA; 
    color: #062726; 
}

/* Card Content */
.rsvp-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px; 
}

.rsvp-header .rsvp-badge { 
    display: none; 
} /* Hide old badge */

.rsvp-date { 
    color: #562039; 
    font-weight: 600; 
    font-size: 0.95em; 
}

.rsvp-content { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 0; 
    align-items: center; 
}

.rsvp-image { 
    aspect-ratio: 1/1; 
    min-height: 100px;  
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 2em; 
    border-radius: 8px; 
}

.rsvp-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 8px; 
}

.rsvp-details { 
    padding: 0 20px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
}

.rsvp-details > div {
    width: 100%; /* Make sure it takes full width for centering */
}

/* Event Info */
.venue-name { 
    color: #562039; 
    margin-bottom: 12px; 
    font-size: 1.3em; 
    font-weight: 700; 
}

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

.info-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 12px; 
    padding: 10px; 
    background: rgba(102, 215, 209, 0.05); 
    border-radius: 8px; 
    border-left: 3px solid #66D7D1; 
}

.info-icon { 
    width: 24px; 
    height: 24px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 0.8em; 
    color: white; 
    flex-shrink: 0; 
}

.info-text { 
    color: #062726; 
    font-weight: 500; 
    font-size: 0.95em; 
}

.info-text.time { 
    color: #7B2E52; 
    font-weight: 600; 
}

.venue-description { 
    color: #666; 
    line-height: 1.4; 
    font-size: 0.9em; 
    margin-bottom: 20px; 
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

/* Actions */
.rsvp-actions { 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap; 
}

.action-btn { 
    padding: 10px 20px; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 0.9em; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    flex: 1; 
    text-align: center; 
    min-width: 120px; 
}

.action-btn.view-venue { 
    background: #562039; 
    color: white; 
}

.action-btn.view-venue:hover { 
    background: #7B2E52; 
    transform: translateY(-1px); 
}

.action-btn.get-directions { 
    background: #66D7D1; 
    color: #062726; 
}

.action-btn.get-directions:hover { 
    background: #2BA6A0; 
    transform: translateY(-1px); 
}

.action-btn.add-calendar { 
    background: rgba(102, 215, 209, 0.1); 
    color: #062726; 
    border: 2px solid #66D7D1; 
}

.action-btn.add-calendar:hover { 
    background: #66D7D1; 
    transform: translateY(-1px); 
}

/* Hover Effects */
.rsvp-card.going:hover { 
    /* border-left-color: #45BA83;  */
    box-shadow: 0 8px 30px rgba(102, 215, 209, 0.2); 
}

.rsvp-card.interested:hover { 
    /* border-left-color: #562039;  */
    box-shadow: 0 8px 30px rgba(123, 46, 82, 0.2); 
}

.rsvp-card.maybe_next_time:hover { 
    /* border-left-color: #7B2E52;  */
    box-shadow: 0 8px 30px rgba(86, 32, 57, 0.2); 
}

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

.welcome-subtitle {
    font-size: 1.15em;
    color: #666;
    margin-top: 15px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.event-date-header {
    text-align: center;
    font-size: 1.2em;
    font-weight: 600;
    color: #562039;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(86, 32, 57, 0.1);
    border-radius: 8px;
}

/* ===== MOBILE-FIRST RESPONSIVE DESIGN ===== */

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
    /* .container {
        padding: 20px 15px;
        max-width: 100%;
    } */
    
    .content-card {
        padding: 25px 20px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    /* Typography */
    .welcome-title {
        font-size: 2.2em;
        margin-bottom: 8px;
    }
    
    .welcome-subtitle {
        font-size: 1.1em;
        max-width: 100%;
    }
    
    /* Filters - stack on smaller tablets */
    .rsvp-filters {
        flex-direction: row;
        gap: 8px;
        margin-bottom: 25px;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* RSVP Cards */
    .rsvp-card {
        padding: 18px;
        border-radius: 10px;
    }
    
    .rsvp-content {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .rsvp-image {
        width: 100%;
        height: 180px;
        aspect-ratio: auto;
        order: -1;
    }
    
    .rsvp-details {
        padding: 0;
        align-items: stretch;
    }
    
    /* Header adjustments */
    .rsvp-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .rsvp-date {
        font-size: 0.9em;
    }
    
    /* Status corner */
    .rsvp-status-corner {
        top: 12px;
        right: 12px;
        padding: 5px 10px;
        font-size: 0.7em;
    }
    
    /* Event info */
    .venue-name {
        font-size: 1.25em;
        text-align: center;
    }
    
    .info-item {
        flex-direction: row;
        text-align: left;
        gap: 10px;
        padding: 8px 12px;
    }
    
    .info-text {
        font-size: 0.9em;
    }
    
    .venue-description {
        font-size: 0.88em;
        text-align: center;
        -webkit-line-clamp: 3;
    }
    
    /* Actions */
    .rsvp-actions {
        gap: 10px;
    }
    
    .action-btn {
        min-width: auto;
        padding: 12px 20px;
        font-size: 0.88em;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    body {
        padding: 15px 10px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .content-card {
        padding: 20px 15px;
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    /* Typography */
    .welcome-title {
        font-size: 1.8em;
    }
    
    .welcome-subtitle {
        font-size: 1em;
        line-height: 1.4;
    }
    
    /* RSVP Cards */
    .rsvp-card {
        padding: 15px;
        border-radius: 8px;
    }
    
    .rsvp-image {
        height: 140px;
        font-size: 1.5em;
    }
    
    /* Header */
    .rsvp-header {
        margin-bottom: 10px;
    }
    
    .rsvp-date {
        font-size: 0.85em;
    }
    
    /* Status corner - smaller */
    .rsvp-status-corner {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 0.65em;
    }
    
    /* Event info - stack vertically on very small screens */
    .info-item {
        flex-direction: row;
        text-align: center;
        gap: 6px;
        padding: 8px;
    }
    
    .info-icon {
        width: 22px;
        height: 22px;
        font-size: 0.75em;
    }
    
    .info-text {
        font-size: 0.85em;
    }
    
    .venue-name {
        font-size: 1.15em;
    }
    
    .venue-description {
        font-size: 0.82em;
        -webkit-line-clamp: 4;
    }
    
    /* Actions - full width stacked */
    .rsvp-actions {
        flex-direction: row;
        gap: 8px;
    }
    
    .action-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.85em;
    }
    
    /* Hide hover effects on touch devices */
    .action-btn:hover,
    .rsvp-card:hover {
        transform: none;
    }
}

/* Very Small Devices (360px and below) */
@media (max-width: 360px) {
    .welcome-title {
        font-size: 1.6em;
    }
    
    .content-card {
        padding: 15px 12px;
    }
    
    .rsvp-card {
        padding: 12px;
    }
    
    .rsvp-image {
        height: 120px;
    }
    
    .action-btn {
        padding: 12px 15px;
        font-size: 0.82em;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .action-btn:hover,
    .filter-btn:hover,
    .rsvp-card:hover {
        transform: none;
    }
    
    .action-btn:active,
    .filter-btn:active {
        transform: scale(0.98);
    }
}