/* Dynamic calendar styles */
.dce_et_pb_column {
	width: 100% !important;
	padding: 0 !important;
}
.trmndtm {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.dce-loading-text {
    text-align: center;
    padding: 20px;
    color: #666;
}

.dce-datum p {
    /* margin-bottom: 5px; */
    font-weight: bold;
    color: #94124F;
}

.dce-title p {
    margin-bottom: 15px;
    color: #FFF;
}

/* Modal styles */
.events-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
}

.event-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.event-item:hover {
    background-color: #f9f9f9;
    padding-left: 10px;
    margin-left: -10px;
    border-radius: 4px;
}

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

.event-item strong {
    color: #2d5b8a;
    display: block;
    margin-bottom: 5px;
}

.event-item .event-time {
    color: #d54e21;
    font-weight: 600;
}

/* Button styles */
.et_pb_button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2d5b8a;
    color: white !important;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.et_pb_button:hover {
    background-color: #1e4163;
    color: white !important;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .et_pb_button {
        width: 100%;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 5% auto;
        padding: 15px;
    }
    
    .close-modal {
        font-size: 28px;
        right: 15px;
        top: 10px;
    }
}