﻿/* =========================================================
   MEDMarketing Datepicker
   Compacto, limpio y sin degradados
========================================================= */

:root {
    --med-blue: #1ea7e1;
    --med-pink: #d946a3;
    --med-orange: #f59e0b;
    --text: #334155;
    --muted: #94a3b8;
    --border: #dbe4ee;
    --hover: #f1f7fd;
    --bg: #ffffff;
}


/* =========================================================
   DATEPICKER
========================================================= */

.ui-datepicker {
    width: 270px !important;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--border) !important;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    font-family: "Segoe UI", sans-serif;
}

/* =========================================================
   HEADER
========================================================= */

.ui-datepicker-header {
    position: relative;
    background: transparent !important;
    border: none !important;
    padding-bottom: 8px;
    margin-bottom: 4px;
}

/* =========================================================
   TITLE
========================================================= */

.ui-datepicker-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

/* =========================================================
   SELECTS
========================================================= */

.ui-datepicker select {
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 6px;
    background: white;
    font-size: 12px;
    color: var(--text);
}

/* =========================================================
   PREV / NEXT
========================================================= */

.ui-datepicker-prev,
.ui-datepicker-next {
    position: absolute;
    top: 0;
    width: 26px;
    height: 26px;
    border: none !important;
    border-radius: 8px;
    background: transparent !important;
    cursor: pointer;
    transition: .2s;
}

.ui-datepicker-prev {
    left: 0;
}

.ui-datepicker-next {
    right: 0;
}

    .ui-datepicker-prev:hover,
    .ui-datepicker-next:hover {
        background: #f5f9fc !important;
    }

/* =========================================================
   ICONS
========================================================= */

.ui-icon {
    opacity: .65;
}

/* =========================================================
   TABLE
========================================================= */

.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
}

/* =========================================================
   DAYS HEADER
========================================================= */

.ui-datepicker th {
    padding: 4px 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
}

/* =========================================================
   CELLS
========================================================= */

.ui-datepicker td {
    padding: 1px;
}

/* =========================================================
   DAYS
========================================================= */

.ui-state-default,
.ui-widget-content .ui-state-default {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: auto;
    border: none !important;
    border-radius: 8px;
    background: transparent !important;
    color: var(--text) !important;
    font-size: 12px;
    font-weight: 500;
    transition: .15s;
}

    /* =========================================================
   HOVER
========================================================= */

    .ui-state-default:hover {
        background: var(--hover) !important;
        color: var(--med-blue) !important;
    }

/* =========================================================
   ACTIVE
========================================================= */

.ui-state-active,
.ui-widget-content .ui-state-active {
    background: var(--med-blue) !important;
    color: white !important;
    font-weight: 600;
}

/* =========================================================
   TODAY
========================================================= */

.ui-datepicker-today a {
    border: 1.5px solid var(--med-orange) !important;
}

/* =========================================================
   DISABLED
========================================================= */

.ui-state-disabled {
    opacity: .25;
}

/* =========================================================
   REMOVE EXTRA BORDERS
========================================================= */

.ui-widget-content {
    border: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:480px) {

    .ui-datepicker {
        width: 260px !important;
    }
}
