/*!
 * jQuery UI CSS Framework personalizado - Apenas estilos do Datepicker
 * Otimizado para performance - substitui o CDN
 */

/* Base do datepicker */
.ui-datepicker {
    width: 17em;
    padding: .2em .2em 0;
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 9999 !important;
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: .2em 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: .5em;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 2px;
    width: 1.8em;
    height: 1.8em;
    cursor: pointer;
    text-indent: -999999px;
    overflow: hidden;
}

.ui-datepicker .ui-datepicker-prev {
    left: 2px;
}

.ui-datepicker .ui-datepicker-next {
    right: 2px;
}

.ui-datepicker .ui-datepicker-prev:before {
    content: "◀";
    text-indent: 0;
    line-height: 1.8em;
    text-align: center;
    display: block;
    color: #333;
}

.ui-datepicker .ui-datepicker-next:before {
    content: "▶";
    text-indent: 0;
    line-height: 1.8em;
    text-align: center;
    display: block;
    color: #333;
}

.ui-datepicker .ui-datepicker-title {
    margin: 0 2.3em;
    line-height: 1.8em;
    text-align: center;
    font-weight: bold;
}

.ui-datepicker table {
    width: 100%;
    font-size: .9em;
    border-collapse: collapse;
    margin: 0 0 .4em;
}

.ui-datepicker th {
    padding: .7em .3em;
    text-align: center;
    font-weight: bold;
    border: 0;
    background: #f5f5f5;
}

.ui-datepicker td {
    border: 0;
    padding: 1px;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    padding: .2em;
    text-align: right;
    text-decoration: none;
    color: #333;
    min-height: 1.2em;
}

.ui-datepicker td a:hover {
    background: #007cba;
    color: #fff;
}

.ui-datepicker .ui-datepicker-today a {
    background: #ffffcc;
    color: #333;
}

.ui-datepicker .ui-state-active {
    background: #007cba !important;
    color: #fff !important;
}

.ui-datepicker .ui-state-disabled {
    color: #ccc !important;
    cursor: default !important;
}

.ui-datepicker .ui-datepicker-other-month {
    color: #ccc;
}

/* Helper classes */
.ui-helper-hidden {
    display: none;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
} 