/* ============================================
   COMMUNITY CALENDAR STYLES
   ============================================ */

/* Calendar Container */
.calendar-container {
    padding: 30px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.calendar-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.calendar-header h1 {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
    color: #333 !important ;
}

.calendar-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

.calendar-nav h2 {
    margin: 0 !important;
    font-size: 1.5rem !important;
    min-width: 250px !important;
    text-align: center !important;
}

.calendar-view-toggle {
    margin-bottom: 20px !important;
}

.calendar-view-toggle .btn {
    margin: 0 5px !important;
}

.committee-actions {
    text-align: right !important;
    margin-bottom: 20px !important;
}

/* Cancellation Marquee - Scrolling Banner */
.cancellation-marquee-wrapper {
    display: flex !important;
    width: 100% !important;
    margin: 0 0 25px 0 !important;
    background: 
        repeating-linear-gradient(
            45deg,
            #dc3545,
            #dc3545 10px,
            #c82333 10px,
            #c82333 20px
        ),
        linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.6), inset 0 0 20px rgba(0,0,0,0.2);
    border: 3px solid #b71c1c;
    animation: marquee-bg 2s linear infinite;
}

@keyframes marquee-bg {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 28px 0, 0 0; }
}

.marquee-label {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 18px 30px !important;
    background: #8b0000 !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 1.3rem !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    white-space: nowrap !important;
    z-index: 2 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    box-shadow: 3px 0 15px rgba(0,0,0,0.4);
}

.marquee-label i {
    font-size: 1.6rem !important;
    animation: blink 0.8s infinite;
    color: #ffeb3b !important;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

.marquee-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: rgba(0,0,0,0.2);
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding: 18px 50px 18px 0;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    will-change: transform;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content:hover {
    animation-play-state: paused;
}

/* Ensure marquee is visible inside container */
.cancellation-marquee-wrapper {
    min-height: 55px;
    position: relative;
}

.cancellation-marquee-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(220,53,69,0.9) 0%, 
        rgba(200,35,51,0.8) 50%, 
        rgba(220,53,69,0.9) 100%
    );
    z-index: 0;
}

/* Shortcode specific - inside container */
.cancellation-shortcode .cancellation-marquee-wrapper {
    width: 100%;
    margin: 0 0 25px 0;
}

/* Old cancellation styles - keep for compatibility */
.cancellation-banner-wrapper {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.3);
    border: 3px solid #dc3545;
}

.cancellation-banner-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 15px 25px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cancellation-banner-header i {
    margin: 0 15px;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.cancellation-notices {
    background: #fff5f5;
    padding: 20px;
}

.cancellation-alert {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 10px;
    border-left: 6px solid #dc3545;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cancellation-alert:last-child {
    margin-bottom: 0;
}

.cancellation-icon {
    min-width: 60px;
    height: 60px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.cancellation-icon i {
    color: white;
    font-size: 2rem;
}

.cancellation-content {
    flex: 1;
}

.cancellation-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.cancellation-date {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.cancellation-date i {
    color: #dc3545;
    margin-right: 5px;
}

.cancellation-reason-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cancellation-label {
    background: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cancellation-reason-text {
    color: #dc3545;
    font-weight: 600;
    font-size: 1rem;
}

/* Calendar Grid */
.calendar-grid {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(135deg, #667eea 0%, #022644 100%);
    color: white;
    font-weight: 600;
}

.calendar-weekdays div {
    padding: 15px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.calendar-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    min-height: 500px !important;
}

.calendar-day {
    border: 1px solid #e0e0e0 !important;
    min-height: 100px !important;
    padding: 10px !important;
    position: relative !important;
    transition: background-color 0.2s !important;
}

.calendar-day:hover {
    background-color: #f8f9fa !important;
}

.calendar-day.other-month {
    background-color: #f5f5f5 !important;
    color: #999 !important;
}

.calendar-day.today {
    background-color: #e3f2fd !important;
}

.calendar-day.today .day-number {
    background: #2196f3 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
}

.day-number {
    font-size: 0.9rem !important;
    margin-bottom: 5px !important;
}

.day-events {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px;
}

.event-tile {
    padding: 5px 8px !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    color: white !important;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.event-tile.cancelled {
    background: #dc3545 !important;
    text-decoration: line-through;
    opacity: 0.7;
}

.event-tile .countdown-timer {
    font-size: 0.7rem;
    margin-top: 2px;
    opacity: 0.9;
}

/* Event Colors */
.event-tile.social { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.event-tile.meeting { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.event-tile.workshop { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.event-tile.community { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.event-tile.default {
    background: linear-gradient(135deg, #637be5 0%, #06294a 100%);
}

/* Event Detail Page */
.event-detail-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.event-header {
    text-align: center;
    margin-bottom: 30px;
}

.event-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cancelled-banner {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.cancelled-badge {
    font-size: 1.5rem;
    font-weight: bold;
}

.cancelled-reason {
    font-size: 1rem;
}

/* Countdown Timer */
.event-countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #022644 100%);
    border-radius: 12px;
    color: white;
}

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

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-countdown.expired {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.event-countdown.expired .countdown-label::after {
    content: " (Event has started)";
}

/* Event Meta */
.event-meta {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.meta-item i {
    color: #667eea;
    width: 20px;
}

/* Event Description */
.event-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Event Sign-up */
.event-signup {
    text-align: center;
    margin: 30px 0;
}

.event-signup .btn {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Surveys */
.event-surveys {
    margin: 40px 0;
}

.survey-section {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.survey-section h3 {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.pre-survey h3 {
    border-bottom-color: #43e97b;
}

.post-survey h3 {
    border-bottom-color: #fa709a;
}

.survey-form .form-group {
    margin-bottom: 20px;
}

.rating-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.rating-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s;
}

.rating-option:hover,
.rating-option input:checked + .rating-label {
    border-color: #667eea;
    background: #f8f9ff;
}

.rating-option input {
    margin: 0;
}

/* Add Event Form */
.add-event-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.form-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.form-section h3 {
    margin-bottom: 25px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.cancellation-section {
    border-color: #dc3545;
}

.cancellation-section h3 {
    color: #dc3545;
    border-bottom-color: #dc3545;
}

.cancellation-reason-group {
    margin-top: 15px;
    padding: 15px;
    background: #fff5f5;
    border-radius: 8px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Cancelled Events Widget */
.cancelled-events-widget {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.cancelled-events-widget .widget-title {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.cancelled-event-item {
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cancelled-event-item:last-child {
    margin-bottom: 0;
}

.cancelled-event-item h4 {
    margin: 10px 0;
    font-size: 1.1rem;
}

.cancelled-label {
    background: white;
    color: #dc3545;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
}

.cancelled-reason-display {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Calendar List View */
.calendar-list-view {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.list-event-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.list-event-item:hover {
    background-color: #f8f9fa;
}

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

.list-event-date {
    min-width: 80px;
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-right: 20px;
}

.list-event-date .day {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.list-event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.list-event-info {
    flex: 1;
}

.list-event-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.list-event-meta {
    color: #666;
    font-size: 0.9rem;
}

.list-event-actions {
    margin-left: 20px;
}

.list-event-item.cancelled .list-event-date {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.list-event-item.cancelled h4 {
    text-decoration: line-through;
    color: #dc3545;
}

/* Week View */
.week-view .calendar-weekdays {
    display: none;
}

.week-view .calendar-days {
    grid-template-columns: repeat(7, 1fr);
}

/* Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
}
 
.modal-header {
        background: linear-gradient(135deg, #667eea 0%, #011322 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
}

.modal-header .close:hover {
    opacity: 1;
}

.event-navigation a {
    background: radial-gradient(#023762, #01203A) !important;
    PADDING: 10PX 20PX !important;
    color: #fff;
    margin-bottom: 20px;
}
.survey-form .btn-primary {
      background: radial-gradient(#023762, #01203A) !important;
    PADDING: 10PX 20PX !important;
    color: #fff;
    border: unset;
}
.form-actions .lite_btn, .form-actions a {
    background: radial-gradient(#023762, #01203A) !important;
    PADDING: 10PX 20PX !important;
    color: #fff;
    border: unset;
}
.survey-event-item .survey-event-actions a {
    background: radial-gradient(#023762, #01203A) !important;
    PADDING: 10PX 20PX !important;
    color: #fff;
    border: unset;
}

.survey-event-item .survey-event-actions a {
    background: radial-gradient(#023762, #01203A) !important;
    PADDING: 10PX 20PX !important;
    color: #fff;
    border: unset;
}

/* Responsive */
@media (max-width: 768px) {
    .calendar-days {
        grid-template-columns: repeat(7, 1fr);
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 5px;
    }
    
    .event-tile {
        font-size: 0.65rem;
        padding: 2px 4px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .event-countdown {
        gap: 15px;
        padding: 15px;
    }
    
    .calendar-weekdays div {
        padding: 10px 5px;
        font-size: 0.7rem;
    }
    
    .rating-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .rating-option {
        width: 100%;
    }
}

/* Event Sign-up Page */
.event-signup-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.signup-header {
    text-align: center;
    margin-bottom: 40px;
}

.signup-header h1 {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 10px;
}

.signup-header h2 {
    font-size: 1.5rem;
    color: #666;
    font-weight: normal;
}

.event-info-card {
    background: linear-gradient(154deg, #1a2c81 0%, #022644 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row i {
    width: 20px;
    text-align: center;
}

.signup-form .form-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
}

.signup-form .form-section h3 {
    margin-bottom: 25px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #28a745;
    font-size: 1.2rem;
}

.form-notice {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #17a2b8;
}

.registration-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
}

.registration-success i {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.full-notice {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.full-notice i {
    font-size: 3rem;
    color: #ffc107;
    display: block;
    margin-bottom: 15px;
}

/* Event Registrations Management Page */
.event-registrations-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.event-registrations-container .page-header {
    text-align: center;
    margin-bottom: 30px;
}

.event-registrations-container h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.event-registrations-container h2 {
    font-size: 1.3rem;
    color: #666;
    font-weight: normal;
    margin-bottom: 20px;
}

.event-summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

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

.summary-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.export-actions {
    text-align: right;
    margin-bottom: 20px;
}

.export-actions .btn {
    margin-left: 10px;
}

/* Registration Management (for Committee Chairs) */
.registration-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.registration-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

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

.registration-number {
    min-width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
}

.registration-info {
    flex: 1;
}

.registration-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.registration-meta {
    color: #666;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.registration-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.registration-note {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.registration-note.dietary {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.registration-note.special {
    background: #cce5ff;
    border-left: 4px solid #007bff;
}

.registration-actions {
    display: flex;
    gap: 8px;
}

/* Events List (for registration management) */
.events-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.event-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.event-list-item:hover {
    background-color: #f8f9fa;
}

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

.event-list-item.past-event {
    opacity: 0.7;
    background: #f5f5f5;
}

.event-list-item .event-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.event-list-item .event-meta {
    color: #666;
    font-size: 0.9rem;
}

.event-list-item .event-meta span {
    margin-right: 15px;
}

/* Events Page Hero Section */
.events-page-wrapper {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
}

/* View Calendar Button */
.view-calendar-btn-wrapper {
    padding: 20px 0;
    text-align: right;
}

.view-calendar-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2) !important;
}

.view-calendar-btn:hover {
    background: linear-gradient(135deg, #2d5aa0 0%, #1a365d 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(26, 54, 93, 0.3) !important;
    color: white !important;
}

.view-calendar-btn i {
    font-size: 16px;
}

.events-hero {
    padding: 60px 0;
    background: #fff;
}

.events-hero-content {
    display: flex;
    align-items: center;
    
}

.events-hero-left {
    flex: 1;
    max-width: 500px;
}

.events-hero-title {
    font-size: 2.8rem;
    font-weight: 700 !important;
    color: #1a365d !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px !important;
    line-height: 1.2;
}

.events-hero-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

.events-hero-right {
    flex: 1;
    max-width: 500px;
}

.featured-event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    position: relative;
}

.featured-event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.featured-event-inner {
    display: flex;
    flex-direction: row;
    min-height: 320px;
}

.featured-event-image {
    flex: 0 0 55%;
    min-height: 320px;
    overflow: hidden;
    position: relative;
}

.featured-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 20;
    min-width: 60px;
}

.featured-event-date .month {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.featured-event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 4px;
}

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

.featured-event-content {
    flex: 0 0 45%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-event-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.featured-event-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.featured-event-link {
    display: inline-block;
    color: #2d5aa0;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.featured-event-link:hover {
    color: #1a365d;
    text-decoration: underline;
}

/* Responsive Hero Section */
@media (max-width: 992px) {
    .events-hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .events-hero-left,
    .events-hero-right {
        max-width: 100%;
        width: 100%;
    }
    
    .events-hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .events-hero-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .events-hero {
        padding: 40px 0;
    }
    
    .events-hero-title {
        font-size: 1.8rem;
    }
    
    .featured-event-inner {
        flex-direction: column;
        min-height: auto;
    }
    
    .featured-event-image {
        flex: none;
        width: 100%;
        height: 220px;
        min-height: auto;
    }
    
    .featured-event-content {
        flex: none;
        width: 100%;
        padding: 20px;
    }
}

.committee-actions-wrapper {
    padding: 30px 0;
    text-align: right;
}

.events-grid-section {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Events Grid Card Layout */
.events-container {
    padding: 40px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.events-header {
    text-align: center;
    margin-bottom: 50px;
}

.events-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a365d;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.events-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

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

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.event-card-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 20;
    min-width: 55px;
}

.event-card-date .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 2px;
}

.event-card-date .day {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.event-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

.event-card-content {
    padding: 25px;
}

.event-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.event-card-meta i {
    color: #2d5aa0;
    margin-right: 5px;
}

.event-card-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-learn-more {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.btn-learn-more:hover {
    background: linear-gradient(135deg, #2d5aa0 0%, #1a365d 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

.event-card-link {
    display: inline-block;
    color: #2d5aa0;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-card-link:hover {
    color: #1a365d;
    text-decoration: underline;
}

.no-events-message {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 40px 0;
}

.no-events-message i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-events-message h3 {
    color: #666;
    margin-bottom: 10px;
}

.no-events-message p {
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .events-header h1 {
        font-size: 2rem;
    }
    
    .event-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .events-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Swiper Slider Styles */
.events-swiper {
    padding: 20px 10px 60px;
    position: relative;
}

.events-swiper .swiper-slide {
    height: auto;
}

/* Swiper Navigation Arrows */
.events-swiper-next,
.events-swiper-prev {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
    transition: all 0.3s ease;
}

.events-swiper-next:after,
.events-swiper-prev:after {
    font-size: 18px;
    color: white;
    font-weight: bold;
}

.events-swiper-next:hover,
.events-swiper-prev:hover {
    background: linear-gradient(135deg, #2d5aa0 0%, #1a365d 100%);
    transform: scale(1.1);
}

.events-swiper-next.swiper-button-disabled,
.events-swiper-prev.swiper-button-disabled {
    opacity: 0.3;
}

.events-swiper-next {
    right: -25px;
}

.events-swiper-prev {
    left: -25px;
}

/* Swiper Pagination Dots */
.events-swiper-pagination {
    bottom: 0 !important;
}

.events-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.events-swiper-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    width: 25px;
    border-radius: 5px;
}

/* Hide navigation on mobile */
@media (max-width: 640px) {
    .events-swiper-next,
    .events-swiper-prev {
        display: none;
    }
    
    .events-swiper {
        padding: 10px 0 50px;
    }
}

/* Print Styles */
@media print {
    .calendar-nav,
    .calendar-view-toggle,
    .committee-actions,
    .event-signup,
    .survey-form,
    .btn {
        display: none !important;
    }
}

/* Survey Results Shortcode Styles */
.survey-results-container {
    padding: 40px 0;
}

.survey-header {
    margin-bottom: 40px;
}

.survey-header h2 {
    color: #1a365d;
    margin-bottom: 10px;
}

.survey-header h3 {
    color: #2d5aa0;
    margin-bottom: 5px;
}

.survey-header .survey-event-date {
    color: #666;
    font-size: 16px;
}

.survey-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .survey-summary {
        grid-template-columns: 1fr;
    }
}

.summary-card {
    background: white;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: #2d5aa0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    border: 3px solid rgba(255,255,255,0.3);
}

.summary-icon.pre-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.summary-icon.post-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.summary-icon.total-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.summary-content h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #666;
}

.summary-content .count {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    color: #1a365d;
}

.survey-section {
    background: white;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.survey-section:hover {
    border-color: #2d5aa0;
}

.survey-section h3 {
    color: #1a365d;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8ecf1;
}

.survey-stats {
    margin-bottom: 30px;
    background: #f8f9fa;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 20px;
}

.survey-stats h4 {
    color: #2d5aa0;
    margin-bottom: 15px;
}

.stat-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-label {
    width: 150px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.stat-bar-fill {
    flex: 1;
    height: 30px;
    background: #e8ecf1;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #d0d7de;
}

.stat-bar-progress {
    height: 100%;
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    border-radius: 15px;
    transition: width 0.3s ease;
}

.stat-count {
    width: 40px;
    text-align: center;
    font-weight: bold;
    color: #1a365d;
    background: white;
    border: 1px solid #e8ecf1;
    border-radius: 6px;
    padding: 4px;
}

.survey-responses h4 {
    color: #2d5aa0;
    margin-bottom: 20px;
}

.survey-response {
    background: white;
    border: 2px solid #e8ecf1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #2d5aa0;
    transition: all 0.3s ease;
}

.survey-response:hover {
    border-color: #2d5aa0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

.response-number {
    background: #2d5aa0;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #1a365d;
}

.response-date {
    color: #666;
    font-size: 13px;
}

.response-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.response-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #f8f9fa;
    border: 1px solid #e8ecf1;
    border-radius: 6px;
    padding: 12px;
}

.response-field label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.response-field span {
    font-size: 14px;
    color: #333;
}

.no-surveys-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: white;
    border: 2px dashed #e8ecf1;
    border-radius: 12px;
}

.no-surveys-message i {
    font-size: 64px;
    color: #e8ecf1;
    margin-bottom: 20px;
}

.no-surveys-message h3 {
    color: #1a365d;
    margin-bottom: 10px;
}

.survey-events-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (max-width: 768px) {
    .survey-events-list {
        grid-template-columns: 1fr;
    }
}

.survey-event-item {
    background: white;
    border: 2px solid #e8ecf1;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.survey-event-item:hover {
    border-color: #2d5aa0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.survey-events-list .survey-event-item.survey-disabled {
    opacity: 0.6;
    border-style: dashed;
}

.survey-event-info h3 {
    margin: 0 0 10px 0;
    color: #1a365d;
}

.survey-event-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.survey-breakdown {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.pre-badge,
.post-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.1);
}

.pre-badge {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #bbdefb;
}

.post-badge {
    background: #fce4ec;
    color: #c2185b;
    border-color: #f8bbd0;
}
