/* Modern Green Calendar Theme - Instabank B2B - Clean Borderless Design */

.fc {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --fc-border-color: transparent;
    --fc-today-bg-color: transparent;
}

/* Remove all borders for clean look */
.fc-theme-standard td,
.fc-theme-standard th {
    border: none !important;
}

.fc-theme-standard .fc-scrollgrid {
    border: none !important;
}

.fc .fc-scrollgrid-section > * {
    border: none !important;
}

/* Calendar Header - Clean & Modern */
.fc .fc-toolbar {
    padding: 24px 0 16px 0;
    margin-bottom: 16px;
}

.fc .fc-toolbar-title {
    color: #2D8659;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Navigation Buttons - Rounded Modern Style */
.fc .fc-button-primary {
    background: #2D8659 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    box-shadow: 0 2px 8px rgba(45, 134, 89, 0.2) !important;
    transition: all 0.3s ease !important;
}

.fc .fc-button-primary:hover:not(:disabled) {
    background: #1F5A3D !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3) !important;
}

.fc .fc-button-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(45, 134, 89, 0.2) !important;
}

.fc .fc-button-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Day Headers - Uppercase Green */
.fc .fc-col-header-cell {
    padding: 12px 4px;
    background: transparent;
}

.fc .fc-col-header-cell-cushion {
    color: #2D8659;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.2px;
    opacity: 0.9;
}

/* Calendar Grid - Clean Borderless */
.fc .fc-daygrid-day {
    transition: all 0.25s ease;
    background: transparent !important;
}

.fc .fc-daygrid-day-frame {
    padding: 4px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc .fc-daygrid-day-top {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.fc .fc-daygrid-day-number {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

/* Today's Date - Clean Circle Highlight */
.fc .fc-day-today {
    background: transparent !important;
}

.fc .fc-day-today .fc-daygrid-day-number {
    background: #2D8659;
    color: white;
    font-weight: 600;
}

/* Disabled Days - Weekends (Subtle) */
.fc .fc-daygrid-day.ibb-disabled-day {
    background: transparent !important;
    opacity: 0.35;
    pointer-events: none;
}

.fc .fc-daygrid-day.ibb-disabled-day .fc-daygrid-day-number {
    color: #bbb;
    font-weight: 400;
}

/* Available Days - Clean Hover Effect */
.fc .fc-daygrid-day.ibb-available-day {
    cursor: pointer;
    background: transparent !important;
}

.fc .fc-daygrid-day.ibb-available-day .fc-daygrid-day-number:hover {
    background: #2D8659;
    color: white;
    font-weight: 600;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(45, 134, 89, 0.25);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .fc .fc-toolbar {
        padding: 16px 0 12px 0;
        margin-bottom: 12px;
    }

    .fc .fc-toolbar-title {
        font-size: 20px;
    }

    .fc .fc-button-primary {
        padding: 8px 16px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }

    .fc .fc-col-header-cell {
        padding: 8px 2px;
    }

    .fc .fc-col-header-cell-cushion {
        font-size: 10px;
        letter-spacing: 0.8px;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 44px;
        padding: 2px;
    }

    .fc .fc-daygrid-day-number {
        font-size: 14px;
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .fc .fc-day-today .fc-daygrid-day-number {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .fc .fc-toolbar-title {
        font-size: 18px;
    }

    .fc .fc-button-primary {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }

    .fc .fc-col-header-cell-cushion {
        font-size: 9px;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 40px;
    }

    .fc .fc-daygrid-day-number {
        font-size: 13px;
        width: 32px;
        height: 32px;
        padding: 6px;
    }
}