/* ==================================
   Events Calendar Pro - Styles
   ================================== */

/* Wrapper with Full-Width Background Image */
/* .ecp-wrapper {
    padding: 50px 60px;
    background-color: rgba(25, 25, 25, 0.6);
    background-image: url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&h=1080&fit=crop");
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;
    min-height: 650px;
    position: relative;
    overflow: hidden;5
} */

.width-container {
    max-width: 1260px;
    margin: 0 auto;
}

/* Header */
.ecp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.ecp-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Category Dropdown */
.ecp-category-select {
    display: flex;
    align-items: center;
}

.ecp-category-dropdown {
    position: relative;
    display: inline-block;
}

.ecp-dropdown-toggle {
    padding: 12px 24px;
    cursor: pointer;
    border: none;
    background: #ffffff;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    justify-content: center;
}

.ecp-dropdown-toggle:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ecp-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    list-style: none;
    margin: 8px 0 0 0;
    border: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 220px;
    max-height: 300px;
    overflow-y: auto;
}

.ecp-dropdown-menu li {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}

.ecp-dropdown-menu li:hover {
    background: #f5f5f5;
}

.ecp-cat-icon {
    width: 26px;
    height: 26px;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.ecp-cat-title {
    flex: 1;
    font-size: 14px;
    color: #333;
}

/* Layout - Equal Columns */
.ecp-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: rgba(30, 30, 35, 0.5);
    border-radius: 16px;
    padding: 35px 40px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ecp-events-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 430px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar for Events */
.ecp-events-wrap {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.8) rgba(255, 255, 255, 0.05);
}

.ecp-events-wrap::-webkit-scrollbar {
    width: 8px;
}

.ecp-events-wrap::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.ecp-events-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.ecp-events-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ecp-calendar-wrap {
    flex: 1;
}

/* Events List */
.ecp-event {
    background: rgba(30, 30, 35, 0.7);
    border-radius: 14px;
    padding: 20px 24px;
    color: #ffffff;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ecp-event:hover {
    background: rgba(40, 40, 45, 0.75);
    transform: translateX(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.ecp-event-icon {
    width: 46px;
    height: 46px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ecp-event-icon img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.ecp-event-icon svg,
.ecp-event-icon>div {
    width: 24px;
    height: 24px;
}

.ecp-event-details {
    flex: 1;
    min-width: 0;
}

.ecp-event-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 6px;
    color: #ffffff;
}

.ecp-event-location {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
}

.ecp-event-excerpt {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.5;
    margin-top: 6px;
}

/* No Events State - Card Style */
.ecp-no-events {
    background: rgba(30, 30, 35, 0.7);
    border-radius: 14px;
    padding: 164px 24px;
    color: #ffffff;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.ecp-no-events-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.ecp-no-events-icon {
    margin-bottom: 16px;
    opacity: 0.6;
    animation: fadeIn 0.5s ease-in-out;
}

.ecp-no-events-icon svg {
    width: 56px;
    height: 56px;
}

.ecp-no-events-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    letter-spacing: 0.3px;
    animation: fadeIn 0.5s ease-in-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.ecp-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
    gap: 40px;
}

.ecp-month-display {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.8px;
    min-width: 200px;
    text-align: center;
    text-transform: uppercase;
}

.ecp-nav-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    color: #ffffff;
    font-weight: 600;
}

.ecp-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Weekdays */
.ecp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.ecp-weekdays span {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    color: #ffffff;
}

/* Days */
.ecp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px;
}

.ecp-day,
.ecp-empty {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    border-radius: 50%;
    position: relative;
    transition: all 0.25s ease;
    width: 42px;
    height: 42px;
    margin: 0 auto;
    font-weight: 500;
}

.ecp-day {
    cursor: pointer;
}

.ecp-day:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Active/Selected Date - Filled Blue Circle */
.ecp-day.active {
    background: #124e8c;
    color: #ffffff;
    font-weight: 600;
    width: 42px;
    height: 42px;
}

/* Today - White Circle Outline */
.ecp-day.today {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
}

/* Active + Today - Blue background with white border */
.ecp-day.active.today {
    background: #124e8c;
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
    font-weight: 600;
}

.ecp-empty {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

/* Day Dots for Events */
.ecp-day-dots {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.ecp-day-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #4285f4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ecp-wrapper {
        padding: 40px;
    }

    .ecp-layout {
        flex-direction: column;
        gap: 40px;
    }

    .ecp-events-wrap {
        width: 100%;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .ecp-calendar-wrap {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ecp-wrapper {
        padding: 30px 25px;
        background-attachment: scroll;
    }

    .ecp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 35px;
    }

    .ecp-title {
        font-size: 36px;
    }

    .ecp-days {
        gap: 8px;
    }

    .ecp-day,
    .ecp-empty {
        font-size: 16px;
        width: 38px;
        height: 38px;
    }

    .ecp-day.active {
        width: 38px;
        height: 38px;
    }

    .ecp-weekdays span {
        font-size: 12px;
        padding: 10px 0;
    }

    .ecp-no-events {
        padding: 40px 20px;
    }

}

@media (max-width: 480px) {
    .ecp-wrapper {
        padding: 20px 15px;
        min-height: 500px;
    }

    .ecp-title {
        font-size: 28px;
    }

    .ecp-header {
        margin-bottom: 25px;
    }

    .ecp-layout {
        gap: 30px;
        padding: 20px;
    }

    .ecp-days {
        gap: 6px;
    }

    .ecp-day,
    .ecp-empty {
        font-size: 15px;
        width: 34px;
        height: 34px;
    }

    .ecp-day.active {
        width: 34px;
        height: 34px;
    }

    .ecp-weekdays span {
        font-size: 11px;
        padding: 8px 0;
    }

    .ecp-day-dot {
        width: 3px;
        height: 3px;
    }

    .ecp-event {
        padding: 18px 20px;
        gap: 15px;
    }

    .ecp-event-icon {
        width: 38px;
        height: 38px;
    }

    .ecp-event-title {
        font-size: 14px;
    }

    .ecp-event-location {
        font-size: 11px;
    }

    .ecp-event-excerpt {
        font-size: 11px;
    }

    .ecp-no-events-icon svg {
        width: 48px;
        height: 48px;
    }

    .ecp-no-events-text {
        font-size: 14px;
    }

    .ecp-nav {
        gap: 0;
    }
}