@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css');

body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 90%;
    margin: auto;
    padding-top: 20px;
}

h1 {
    color: #6e6e6e;
    margin-bottom: 20px;
}

h2 {
    padding-bottom: 1.5rem;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.btn {
    font-size: 16px;
}

.table {
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.table thead th {
    background-color: #6e6e6e;
    color: white;
    border-bottom: none;
}

.table td {
    vertical-align: middle;
    padding-left: 10px;
}

.badge {
    font-size: 14px;
    padding: 5px 10px;
}

.navbar {
    background-color: #6e6e6e;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

#calendar {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 700px;
    min-width: 650px;
    max-width: 800px;
    overflow-y: auto;
    margin: 0 auto; /* Added this line */
}

.calendar-container {
    text-align: center;
    display: flex;     /* Added these */
    justify-content: center;
    width: 100%;
}

.fc-event {
    cursor: pointer;
}

.fc-event-title {
    font-weight: bold;
    padding: 2px;
}

.ql-editor {
    min-height: 200px;
}

.ql-color-picker {
    width: 100%;
    margin-bottom: 10px;
}

/* ========== HEADER USER (come intranet) ========== */
.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-user-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s, background 0.2s;
}

.header-user-btn:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
}

.header-user-btn .fa-chevron-down {
    font-size: 0.65rem;
    opacity: 0.6;
}

.header-user-menu {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 6px 0;
    margin-top: 6px !important;
}

.header-user-menu .dropdown-header {
    font-size: 0.72rem;
    color: #999;
    font-weight: 400;
    padding: 6px 16px;
}

.header-user-menu .dropdown-item {
    font-size: 0.82rem;
    padding: 8px 16px;
    color: #555;
    transition: background 0.15s;
}

.header-user-menu .dropdown-item:hover {
    background: #f5f5f5;
    color: #333;
}

.header-user-menu .dropdown-item.active,
.header-user-menu .dropdown-item:active {
    background: #efefef;
    color: #333;
    font-weight: 600;
}