@tailwind base;
@tailwind components;
@tailwind utilities;

/* ---------- CSS FullCalendar ---------- */


/* ---------- Style personnalisé pour page osgadmin ---------- */
body.login {
    background-color: #EFEFEF;
}

body.login #login h1 a {
    background-image: url('/wp-content/uploads/osgtime-upload/osga.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 100px;
    display: block;
    margin: 0 auto 20px;
}

body.login #loginform {
    background: #ffffff;
    border-radius: 8px;
    padding: 26px 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: none;
}

body.login .button-primary {
    background-color: #C72A3D;
    border: none;
    box-shadow: none;
    text-shadow: none;
    font-weight: bold;
}

body.login .button-primary:hover {
    background-color: #a01f30;
}

body.login #backtoblog a,
body.login #nav a {
    color: #C72A3D !important;
    text-decoration: none;
}

body.login #backtoblog a:hover,
body.login #nav a:hover {
    text-decoration: underline;
}

body.login #login {
    text-align: center;
}

body.login input:focus {
    border-color: #4a1f1f !important;
    box-shadow: 0 0 0 1px #4a1f1f !important; 
}
.dashicons {
    color: #4a1f1f ;
}
.wp-hide-pw:focus {
    border-color: #4a1f1f !important;
    box-shadow: 0 0 0 1px #4a1f1f !important; 
}


/* FULL CALENDAR */
.selected-date{
    background-color: lightgray !important;
}

#coach_calendar .fc-scrollgrid,
#coach_calendar .fc-scrollgrid table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#coach_calendar .fc-scrollgrid-section-header > th,
#coach_calendar .fc-scrollgrid-section-body > td {
    padding: 0 !important;
    border: 0 !important;
}


#coach_calendar {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#coach_calendar a {
    color: inherit !important;
    text-decoration: none !important;
    cursor: default;
}

#coach_calendar .fc-col-header th {
    background: #f3f3f3 !important;   
}

#coach_calendar .fc-col-header-cell-cushion {
    display: block;
    padding: 4px 0 !important;
    font-weight: 600;
    font-size: 0.85rem;
    color: #333333 !important;
}
#coach_calendar .fc-day {
    padding: 5px;
}


#coach_calendar .fc-scrollgrid-sync-table > tbody > tr:nth-child(odd) .fc-daygrid-day {
    background: #ffffff;
}
#coach_calendar .fc-scrollgrid-sync-table > tbody > tr:nth-child(even) .fc-daygrid-day {
    background: #f7f7f7;
}

#coach_calendar .fc-daygrid-day-number {
    font-size: 0.85rem;
    color: rgb(111, 192, 219) !important; 
}

#coach_calendar .fc-day-other .fc-daygrid-day-number {
    color: #d0d0d0 !important;
}

#coach_calendar .fc-day-today {
    background: #fff8dc !important; 
}

#coach_calendar  .fc-button {
    background-color: #C72A3D;
    border: none;
}
#coach_calendar  .fc-button:focus {
    outline: none !important;
    box-shadow: none !important;
}
#coach_calendar .fc-next-button, #coach_calendar .fc-prev-button {
    transition: transform 0.15s ease, background-color 0.15s ease;
}

#coach_calendar .fc-next-button:hover, #coach_calendar .fc-prev-button:hover {
    transform: scale(1.07); /* agrandissement léger et propre */
}

#coach_calendar .fc-event {
    cursor: pointer;
}