:root {
    --primary-color: #E83C3C;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

/* Carte de réservation */
.reservation-card,
.reservation-form-card {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: none;
    margin-bottom: 2rem;
    overflow: hidden;
    background-color: #fff;
}

.reservation-card:hover,
.reservation-form-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.reservation-card .card-header,
.reservation-form-card .card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border: none;
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: white;
    font-weight: 600;
}

.reservation-card .card-body,
.reservation-form-card .card-body {
    padding: 2rem;
}

/* Tableau de réservation */
.reservation-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.reservation-table th {
    background-color: #f8f9fa;
    text-align: center;
    vertical-align: middle;
    padding: 12px;
    border: 1px solid #dee2e6;
    font-weight: 600;
}

.reservation-table td {
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #dee2e6;
    height: 55px;
}

.time-slot {
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.03);
}

/* Statuts des cellules */
.slot-cell {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.slot-cell.available {
    background-color: rgba(40, 167, 69, 0.1);
}

.slot-cell.booked {
    background-color: rgba(220, 53, 69, 0.1);
    cursor: not-allowed;
    position: relative;
}

.slot-cell.admin-blocked{
    background-color: rgba(225, 231, 38, 0.395);
    cursor: not-allowed;
    position: relative;
}

.slot-cell.booked::before {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--danger-color);
    font-weight: bold;
}

.slot-cell.selected {
    background-color: rgba(74, 108, 247, 0.2);
    border: 2px solid rgba(74, 109, 247, 0.663);
}

.slot-cell.available:hover {
    background-color: rgba(40, 167, 69, 0.2);
}

.slot-cell.past {
    background-color: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
    position: relative;
}

.slot-cell.past::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            rgba(0, 0, 0, 0.03),
            rgba(0, 0, 0, 0.03) 10px,
            rgba(0, 0, 0, 0.07) 10px,
            rgba(0, 0, 0, 0.07) 20px);
}

/* Légende */
.legend-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-weight: 500;
}

.status-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 10px;
}

.status-dot.available {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.4);
}

.status-dot.admin-blocked {
    background-color: rgba(225, 231, 38, 0.395);
    border: 1px solid rgba(158, 137, 0, 0.4);
}

.status-dot.booked {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.4);
}

.status-dot.selected {
    background-color: rgba(74, 108, 247, 0.2);
    border: 1px solid rgba(74, 109, 247, 0.663);
}

.status-dot.past {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
}

.status-dot.past::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            rgba(0, 0, 0, 0.03),
            rgba(0, 0, 0, 0.03) 3px,
            rgba(0, 0, 0, 0.07) 3px,
            rgba(0, 0, 0, 0.07) 6px);
}

/* Sélecteur de semaine */
.week-selector {
    margin-bottom: 1.5rem;
}

.week-selector .input-group {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.week-selector .input-group-text {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    justify-content: center;
    width: 100%;
    border-bottom-left-radius: 0;
}

.week-selector .form-select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    font-weight: 500;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    min-width: 0;
    text-align: center;
}

.schedule-container {
    overflow-x: auto;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* Badges de statut */
.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.status-badge.active {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-badge.pending {
    background-color: rgba(255, 193, 7, 0.25);
    color: #b38200;
}

.status-badge.cancelled {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

/* Formulaire de réservation */
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(232, 60, 60, 0.15);
}

.selected-slot-info {
    background-color: rgba(247, 74, 74, 0.1);
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.selected-slot-info .alert {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.selected-slot-info i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Alerts et messages */
.alert {
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: none;
    display: flex;
    align-items: center;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.2);
    color: #916900;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background-color: rgba(247, 74, 74, 0.1);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.alert i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Boutons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 10px rgba(232, 60, 60, 0.3);
}

.btn-primary:hover {
    background-color: #d02e2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(232, 60, 60, 0.4);
}

.btn-primary:disabled {
    background-color: #e8757b;
    box-shadow: none;
}

/* Overlay de chargement */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid rgba(232, 60, 60, 0.1);
    border-top-color: var(--primary-color);
    animation: spin 1.2s infinite linear;
}

.loading-text {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Styles pour "Mes Réservations" */
.reservation-item {
    padding: 15px;
    background-color: #fff;
    transition: background-color 0.2s;
    margin-bottom: 15px;
    border-radius: 10px;
}

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

.reservation-date {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    margin: 0 auto;
}

.reservation-date.past {
    background-color: #f5f5f5;
    color: #757575;
}

.reservation-date.cancelled {
    background-color: #ffebee;
    color: #b71c1c;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.date-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin: 5px 0;
}

.date-year {
    font-size: 0.9rem;
    font-weight: 500;
}

.reservation-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.reservation-details p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.reservation-actions {
    display: flex;
    justify-content: flex-end;
}

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

/* Styles spécifiques pour les onglets de réservation */
#reservationTabs {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

#reservationTabs .nav-link {
    color: #555;
    font-weight: 500;
    border: none;
    padding: 12px 20px;
    border-radius: 0;
    margin-right: 5px;
    transition: all 0.3s ease;
}

#reservationTabs .nav-link:hover {
    background-color: rgba(232, 60, 60, 0.05);
}

#reservationTabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background-color: transparent;
}

#reservationTabs .badge {
    background-color: var(--primary-color);
    font-weight: 500;
}

/* Styles pour les badges (statut) */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
    border-radius: 50px;
}

.bg-warning {
    background-color: rgba(255, 193, 7, 0.9) !important;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-danger {
    background-color: var(--danger-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.text-dark {
    color: #212529 !important;
}

/* Séparateur entre les réservations */
hr {
    margin: 20px 0;
    border-color: rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 992px) {
    .reservation-table {
        min-width: 800px;
    }

    .legend-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .week-selector .input-group {
        max-width: 100% !important;
    }

    .reservation-date {
        margin-bottom: 15px;
    }

    .reservation-actions {
        margin-top: 15px;
        justify-content: flex-start;
    }

    .reservation-actions .btn {
        margin-left: 0;
        margin-right: 10px;
    }

    .reservation-item {
        padding: 15px 10px;
    }

    #reservationTabs .nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

.fc-calendar-container {
    position: relative;
    width: 100%;
    height: auto;
}

.fc-calendar {
    width: 100%;
    height: 100%;
}

.fc-calendar .fc-head {
    background: #ccc;
    color: #fff;
}

.fc-calendar .fc-body {
    position: relative;
    width: 100%;
    height: 100%;
    height: -moz-calc(100% - 30px);
    height: -webkit-calc(100% - 30px);
    height: calc(100% - 30px);
    border: 1px solid #ddd;
}

.fc-calendar .fc-row {
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.fc-four-rows .fc-row {
    height: 25%;
}

.fc-five-rows .fc-row {
    height: 20%;
}

.fc-six-rows .fc-row {
    height: 16.66%;
    height: -moz-calc(100%/6);
    height: -webkit-calc(100%/6);
    height: calc(100%/6);
}

.fc-calendar .fc-row>div,
.fc-calendar .fc-head>div {
    display: inline-block;
    height: 100%;
    width: 14.28%;
    /* 100% / 7 */
    width: -moz-calc(100%/7);
    width: -webkit-calc(100%/7);
    width: calc(100%/7);
    position: relative;
}

/* IE 9 is rounding up the calc it seems */
.ie9 .fc-calendar .fc-row>div,
.ie9 .fc-calendar .fc-head>div {
    width: 14.2%;
}

.fc-calendar .fc-row>div {
    border-right: 1px solid #ddd;
    padding: 4px;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
}

.fc-calendar .fc-head>div {
    text-align: center;
}

.fc-calendar .fc-row>div>span.fc-date {
    width: 30px;
    height: 20px;
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: #ddd;
    text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8);
    bottom: 5px;
    right: 5px;
    text-align: right;
}

.fc-calendar .fc-starttime,
.fc-calendar .fc-endtime {
    display: none;
}

.fc-calendar .fc-row>div>span.fc-weekday {
    padding-left: 5px;
    display: none;
}

.fc-calendar .fc-row>div.fc-today {
    background: #fff4c3;
}

.fc-calendar .fc-row>div.fc-out {
    opacity: 0.6;
}

.fc-calendar .fc-row>div:last-child,
.fc-calendar .fc-head>div:last-child {
    border-right: none;
}

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

/* Custom Events Calendar
-----------------------------------------------------------------*/

.events-calendar {
    position: relative;
    width: 100%;
    height: auto;
}

.fc-calendar-container {
    height: auto;
    bottom: 0px;
    width: 100%;
}

.events-calendar-header {
    height: 50px;
    position: relative;
}

.events-calendar-header h2,
.events-calendar-header h3 {
    float: left;
    text-shadow: none;
    margin-bottom: 0;
}

.events-calendar-header h2 {
    width: 60%;
}

.events-calendar-header h2 a,
.events-calendar-header h2 span {
    font-size: 18px;
    white-space: nowrap;
}

.events-calendar-header h3 {
    width: 40%;
    color: #666;
    font-size: 20px;
    text-align: right;
    padding-top: 7px;
    padding-right: 130px;
}

.events-calendar-header h3 span {
    color: #666;
}

.events-calendar-header nav {
    position: absolute;
    right: 0;
    top: 5px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.events-calendar-header nav span {
    float: left;
    width: 30px;
    height: 30px;
    line-height: 30px;
    position: relative;
    color: transparent;
    cursor: pointer;
    background: #444;
    margin: 0 1px;
    font-size: 14px;
    border-radius: 0 3px 3px 0;
    box-shadow: none;
}

.events-calendar-header nav span:first-child {
    border-radius: 3px 0 0 3px;
}

.events-calendar-header nav span:hover {
    background: #222;
}

.events-calendar-header span i {
    color: #FFF;
    text-align: center;
    width: 100%;
}

.events-calendar-header nav span:last-child {
    margin-left: 20px;
    border-radius: 3px;
}

.fc-calendar {
    background: #F5F5F5;
    width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 5px;
}

.fc-calendar .fc-head {
    background: #444;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 5px 5px 0 0;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
}

.fc-calendar .fc-head>div {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.fc-calendar .fc-row>div>span.fc-date {
    position: absolute;
    color: #333;
    text-shadow: none;
    font-size: 28px;
    font-weight: 300;
    bottom: auto;
    right: auto;
    top: 10px;
    left: 8px;
    text-align: left;
    text-shadow: none;
}

.fc-calendar .fc-body {
    border: none;
    height: 568px;
    padding: 20px;
}

.fc-calendar .fc-row {
    box-shadow: inset 0 -1px 0 #E5E5E5;
    border: none;
}

.fc-calendar .fc-row:last-child {
    box-shadow: none !important;
}

.fc-calendar .fc-row:first-child>div:first-child {
    border-radius: 5px 0 0 0;
}

.fc-calendar .fc-row:first-child>div:last-child {
    border-radius: 0 5px 0 0;
}

.fc-calendar .fc-row:last-child>div:first-child {
    border-radius: 0 0 0 5px;
}

.fc-calendar .fc-row:last-child>div:last-child {
    border-radius: 0 0 5px 0;
}

.fc-calendar .fc-row>div {
    box-shadow: -1px 0 0 #E5E5E5;
    border: none;
    padding: 10px;
}

.fc-calendar .fc-row>div:first-child {
    box-shadow: none !important;
}

.fc-calendar .fc-row>div.fc-today {
    background: #1E73BE;
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.2);
}

.fc-calendar .fc-row>div.fc-today>span.fc-date {
    color: #FFF;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.fc-calendar .fc-row>div.fc-today:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255, 255, 255, 0.15)), to(rgba(0, 0, 0, 0.25))), -webkit-gradient(linear, left top, right bottom, color-stop(0, rgba(255, 255, 255, 0)), color-stop(0.5, rgba(255, 255, 255, .15)), color-stop(0.501, rgba(255, 255, 255, 0)), color-stop(1, rgba(255, 255, 255, 0)));
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.25)), -moz-linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.25)), -o-llinear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.25)), -ms-linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
    background: linear-gradient(top, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.25)), linear-gradient(left top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0));
}

.fc-calendar .fc-row>div>div {
    margin-top: 35px;
}

.fc-calendar .fc-row>div>div a,
.fc-calendar .fc-row>div>div span {
    position: relative;
    z-index: 1;
    color: #FFF;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    display: inline-block;
    padding: 3px 5px;
    border-radius: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-bottom: 1px;
    background: #1E73BE;
    -webkit-transition: background-color .3s ease-in-out;
    -moz-transition: background-color .3s ease-in-out;
    -ms-transition: background-color .3s ease-in-out;
    -o-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}

.fc-calendar .fc-row>div>div a:hover {
    background: #444 !important;
}

.fc-calendar .fc-row>div.fc-today>div a,
.fc-calendar .fc-row>div.fc-today>div span {
    color: #FFF;
    background: rgba(255, 255, 255, 0.2);
}

.dark .events-calendar-header h2,
.dark .events-calendar-header h3 {
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.dark .events-calendar-header h2 {
    color: #FFF;
}

.dark .events-calendar-header h2 a,
.dark .events-calendar-header h2 span {
    color: rgba(255, 255, 255, 0.3);
}

.dark .events-calendar-header h2 a {
    color: rgba(255, 255, 255, 0.5);
}

.dark .events-calendar-header h2 a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.dark .events-calendar-header h3 {
    color: #CCC;
    color: rgba(255, 255, 255, 0.6);
}

.dark .events-calendar-header h3 span {
    color: #CCC;
}

.dark .events-calendar-header nav span {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.2);
}

.dark .events-calendar-header nav span:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dark .events-calendar-header span i {
    color: #FFF;
}

.dark .fc-calendar {
    background: rgba(255, 255, 255, 0.1);
}

.dark .fc-calendar .fc-head {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dark .fc-calendar .fc-head>div {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.dark .fc-calendar .fc-row>div>span.fc-date {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.dark .fc-calendar .fc-row {
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.10);
}

.dark .fc-calendar .fc-row>div {
    box-shadow: -1px 0 0 rgba(255, 255, 255, 0.10);
}

.dark .fc-calendar .fc-row>div.fc-today {
    background: transparent;
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.2);
}

.dark .fc-calendar .fc-row>div>div a,
.dark .fc-calendar .fc-row>div>div span {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.dark .fc-calendar .fc-row>div>div a:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}


@media screen and (max-width: 991px) {

    .events-calendar-header,
    .events-calendar-header nav,
    .events-calendar,
    .fc-calendar-container,
    .fc-calendar,
    .fc-calendar .fc-head,
    .fc-calendar .fc-row>div>span.fc-date {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        height: auto;
        width: auto;
    }

    .fc-calendar .fc-body {
        height: auto;
    }

    .fc-calendar {
        margin: 20px 0;
    }

    .events-calendar-header h2,
    .events-calendar-header h3 {
        float: none;
        width: auto;
        text-align: left;
        padding: 0;
    }

    .fc-calendar .fc-row,
    .ie9 .fc-calendar .fc-row>div,
    .fc-calendar .fc-row>div {
        height: auto;
        width: 100%;
        border: none;
    }

    .fc-calendar .fc-row>div {
        float: none;
        min-height: 50px;
        box-shadow: inset 0 -1px #E5E5E5 !important;
        border-radius: 0px !important;
    }

    .fc-calendar .fc-row>div:first-child {
        box-shadow: inset 0 -1px #E5E5E5 !important;
    }

    .fc-calendar .fc-row>div:empty {
        min-height: 0;
        height: 0;
        box-shadow: none !important;
        padding: 0;
    }

    .fc-calendar .fc-row {
        box-shadow: none;
    }

    .fc-calendar .fc-head {
        display: none;
    }

    .fc-calendar .fc-row>div>div {
        margin-top: 0px;
        padding-left: 10px;
        max-width: 68%;
        display: inline-block;
    }

    .fc-calendar .fc-row>div.fc-today {
        background: #1E73BE;
    }

    .fc-calendar .fc-row>div.fc-today:after {
        display: none;
    }

    .fc-calendar .fc-row>div>span.fc-date {
        width: 30px;
        display: inline-block;
        text-align: right;
    }

    .fc-calendar .fc-row>div>span.fc-weekday {
        display: inline-block;
        width: 40px;
        color: #999;
        font-size: 10px;
        text-transform: uppercase;
    }


    .dark .fc-calendar .fc-row>div {
        box-shadow: inset 0 -1px rgba(255, 255, 255, 0.2) !important;
    }

    .dark .fc-calendar .fc-row>div.fc-today {
        background: rgba(255, 255, 255, 0.2);
    }

    .dark .fc-calendar .fc-row>div>span.fc-weekday,
    .fc-calendar .fc-row>div.fc-today>span.fc-weekday {
        color: #fff;
        color: rgba(255, 255, 255, 0.7);
    }

}

.action-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.75rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.25rem;
    border: none;
    cursor: pointer;
}

.delete-btn {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}
