/* ===================================
   PAGE-SPECIFIC STYLES
   =================================== */

/* Datepicker Styling (used in projects, reports, points) */
.ui-datepicker {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    padding: 0.5rem;
}

.ui-datepicker-header {
    background: #3b82f6;
    color: white;
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.ui-datepicker-title {
    text-align: center;
    font-weight: 600;
}

.ui-datepicker-prev, .ui-datepicker-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 0.25rem;
    color: white;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    position: absolute;
    top: 0.5rem;
}

.ui-datepicker-prev {
    left: 0.5rem;
}

.ui-datepicker-next {
    right: 0.5rem;
}

.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ui-datepicker-calendar {
    width: 100%;
    border-collapse: collapse;
}

.ui-datepicker-calendar th {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.ui-datepicker-calendar td {
    border: 1px solid #e5e7eb;
    padding: 0;
}

.ui-datepicker-calendar td a {
    display: block;
    padding: 0.5rem;
    text-align: center;
    text-decoration: none;
    color: #374151;
    background: white;
    transition: background-color 0.2s;
}

.ui-datepicker-calendar td a:hover {
    background: #3b82f6;
    color: white;
}

.ui-datepicker-calendar .ui-state-active {
    background: #3b82f6 !important;
    color: white !important;
}

.ui-datepicker-calendar .ui-state-highlight {
    background: #dbeafe;
    color: #1e40af;
}

.ui-datepicker-calendar .ui-state-disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.ui-datepicker-buttonpane {
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    text-align: center;
}

.ui-datepicker-buttonpane button {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.ui-datepicker-buttonpane button:hover {
    background: #2563eb;
}

.ui-datepicker-week-col {
    background: #f9fafb;
    font-weight: 600;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Sortable Styling (used in points index) */
.sortable-ghost {
    opacity: 0.5;
    background: #f3f4f6;
}

.sortable-chosen {
    background: #dbeafe;
}

.cursor-move {
    cursor: move;
}
