/* === Thème Eric Oumer — ericoumer.com === */

/* ---- POLICE SAN FRANCISCO (système Apple) ---- */
body, button, input, select, textarea,
.fc, .ui-widget, .navbar {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
                 "Helvetica Neue", Arial, sans-serif !important;
}

/* ---- NAVBAR ---- */
.navbar-default {
    background-color: #1c1c1c;
    border-bottom: 2px solid #ed7f10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    min-height: 52px;
}
.navbar-default .navbar-brand {
    color: #ed7f10 !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 15px;
    line-height: 36px;
}
.logo-eo {
    height: 36px;
    width: 36px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 50%;
}
.navbar-default .navbar-text,
.navbar-default .navbar-nav > li > a {
    color: #cccccc !important;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #ed7f10 !important;
    background-color: transparent !important;
}
#usermenu a { color: #cccccc !important; }
#usermenu a:hover { color: #ed7f10 !important; }

/* ---- BOUTONS FULLCALENDAR ---- */
.fc-button {
    background-color: #ed7f10 !important;
    background-image: none !important;
    border-color: #c56a0d !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    font-weight: 500;
}
.fc-button:hover,
.fc-button:active,
.fc-button.fc-state-active {
    background-color: #c56a0d !important;
    border-color: #a55a0b !important;
}
.fc-button.fc-state-disabled {
    background-color: #e0a96e !important;
    border-color: #d49050 !important;
    color: #fff !important;
}

/* ---- TITRE DU CALENDRIER ---- */
.fc-header-title h2,
h2.fc-toolbar-title {
    color: #1c1c1c;
    font-weight: 600;
}

/* ---- BARRE DES JOURS — fond blanc ---- */
.fc .ui-widget-header,
.fc-widget-header,
.fc th.ui-widget-header {
    background: #ffffff !important;
    border-color: #e0e0e0 !important;
    color: #555555 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---- AUJOURD'HUI — gris léger ---- */
.fc-today,
.fc td.fc-today {
    background: #f2f2f2 !important;
    border-color: #d8d8d8 !important;
    color: inherit !important;
    font-weight: 700;
    font-size: 100%;
}
.fc-today .fc-day-number {
    color: #ed7f10 !important;
    font-weight: 700;
}

/* ---- JQUERY UI (dialogs, datepicker) ---- */
.ui-dialog .ui-widget-header,
.ui-datepicker .ui-widget-header {
    background: #ed7f10 !important;
    border-color: #c56a0d !important;
    color: #ffffff !important;
}
.ui-state-default, .ui-widget-content .ui-state-default {
    border-color: #e0e0e0;
}
.ui-state-active, .ui-widget-content .ui-state-active {
    background: #ed7f10 !important;
    border-color: #c56a0d !important;
    color: #fff !important;
}

/* ---- BOUTONS BOOTSTRAP ---- */
.btn-primary {
    background-color: #ed7f10 !important;
    border-color: #c56a0d !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #c56a0d !important;
    border-color: #a55a0b !important;
}

/* ---- LIENS ---- */
a { color: #c56a0d; }
a:hover { color: #ed7f10; }

/* ---- SIDEBAR ---- */
#sidebar { border-right: 1px solid #e8e8e8; }
#calendarlist .calendar-color { border-radius: 3px; }

/* ---- NOMS DE CALENDRIERS ---- */
li.available_calendar {
    padding: 5px 2px;
    line-height: 1.6 !important;
}
li.available_calendar span.text {
    font-size: 14px !important;
    letter-spacing: 0.05em !important;
    font-weight: 500 !important;
}
li.available_calendar i.fa-li {
    top: 50% !important;
    transform: translateY(-50%);
}

/* ---- ARRONDI DES ÉVÉNEMENTS ---- */
.fc-event {
    border-radius: 8px !important;
}

/* ---- COLOR PICKER — saisie hex ---- */
input.pick_color {
    display: inline-block !important;
    border: 1px solid #cccccc;
    border-radius: 3px;
    padding: 3px 6px;
    font-family: monospace;
    font-size: 13px;
    width: 90px;
    vertical-align: middle;
    margin-right: 4px;
}
input.pick_color:focus {
    border-color: #ed7f10;
    outline: none;
    box-shadow: 0 0 0 2px rgba(237,127,16,0.2);
}

/* ---- MASQUER MARQUE AGENDAV ---- */
#logo, .site-footer, footer { display: none !important; }
