/* اصلی */

.persian-datepicker {
    width: 100%;
}

.persian-datepicker.is-invalid input {
    border-color: #ea5455 !important;
}

.persian-datepicker .form-control2 {
    outline: none;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    height: 100%;
}

.persian-datepicker button {
    border: none;
    background: none;
    outline: none;
}

.persian-datepicker .relative {
    position: relative;
}
.persian-datepicker .pdp-input-area .label {
    /* block font-medium text-sm text-gray-700 */
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}
.persian-datepicker .pdp-input-area .label .required {
    /* text-red-600 text-xl relative top-1.5 leading-none */
    color: #dc2626;
    position: relative;
    font-weight: 500;
    font-size: 20px;
    line-height: none;
    top: 6px;
}
.persian-datepicker .pdp-input-area .input {
    /* relative flex items-center mt-1 */
    position: relative;
    display: flex;
    align-items: center;
}
.persian-datepicker .pdp-input-area .input .datepicker {
    /* absolute left-0 pl-3 */
    position: absolute;
    left: 0;
    padding-left: 12px;
}
.persian-datepicker .pdp-input-area .input .datepicker svg {
    /* h-6 w-6 text-gray-400 */
    width: 24px;
    height: 24px;
    color: #9ca3af;
}
.persian-datepicker .pnd-date-area {
    /* bg-white z-40 rounded-lg shadow p-4 absolute left-0 */
    background: white;
    z-index: 40;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    padding: 16px;
    position: absolute;
    left: 0;
}
.persian-datepicker .pnd-date-area .head {
    /* flex justify-between items-center mb-2 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.persian-datepicker .pnd-date-area .head .month {
    /* text-lg font-bold text-gray-800 cursor-pointer */
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: #1f2937;
}
.persian-datepicker .pnd-date-area .head .year {
    /* ml-1 text-lg text-gray-600 font-normal cursor-pointer */
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    color: #4b5563;
    margin-top: 4px;
}
.persian-datepicker .pnd-date-area .head button {
    /* transition ease-in-out duration-100 inline-flex cursor-pointer hover:bg-gray-200 p-1 rounded-full */
    transition: all ease-in-out 0.1s;
    display: inline-flex;
    cursor: pointer;
    border-radius: 100%;
    padding: 4px;
}
.persian-datepicker .pnd-date-area .head button:hover {
    /* transition ease-in-out duration-100 inline-flex cursor-pointer hover:bg-gray-200 p-1 rounded-full */
    background-color: #e5e7eb;
}
.persian-datepicker .pnd-date-area .head button svg {
    /* h-6 w-6 text-gray-500 inline-flex */
    width: 24px;
    height: 24px;
    display: inline-flex;
    color: #6b7280;
}
.persian-datepicker .pnd-date-area .footer {
    /* flex mt-1 */
    display: flex;
    margin-top: 4px;
}
.persian-datepicker .pnd-date-area .footer button {
    /* inline-flex items-center w-full justify-center px-4 py-2 bg-sky-500 shadow-md border border-transparent rounded-lg text-xs text-white 
    focus:outline-none disabled:opacity-25 transition */
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 8px;
    background-color: #0ea5e9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    color: white;
    transition-property: color, background-color, border-color,
        text-decoration-color, fill, stroke, opacity, box-shadow, transform,
        filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.persian-datepicker .pnd-date-area .footer button:focus {
    /* inline-flex items-center w-full justify-center px-4 py-2 bg-sky-500 shadow-md border border-transparent rounded-lg text-xs text-white 
    focus:outline-none disabled:opacity-25 transition */
    outline: none;
}
.persian-datepicker .pnd-date-area .footer button:disabled {
    /* inline-flex items-center w-full justify-center px-4 py-2 bg-sky-500 shadow-md border border-transparent rounded-lg text-xs text-white 
    focus:outline-none disabled:opacity-25 transition */
    opacity: 0.25;
}

.persian-datepicker .pdp-time-area {
    /* mt-2 flex flex-row-reverse items-center gap-1 */
    margin-top: 8px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 4px;
    padding-left: 12px;
}

.persian-datepicker .pdp-time-area span {
    /* absolute top-0.5 right-1 text-xxs text-gray-400 */
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 12px;
    color: #9ca3af;
}
.persian-datepicker .pdp-time-area .number_format {
    /* block w-full text-center border-gray-300 focus:border-gray-400 focus:ring focus:ring-gray-200 focus:ring-opacity-50 rounded-md shadow-sm h-11 */
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    height: 44px;
}
