/* #626262 */
/* #181A1F */

.timepicker-dropdown {
    position: absolute; /* use viewport coords from getBoundingClientRect */
    /*transform: translateX(-100%);*/
    width: 260px;
    margin-top: 8px;
    margin-left: -10px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 24px;
    display: none;

}

.timepicker-dropdown.open {
    display: block;
}

.format-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.toggle-container {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    display: flex;
}

.toggle-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #64748b;
}

.toggle-btn.active {
    background: #181A1F;
    color: white;
    box-shadow: 0 2px 4px rgba(98, 98, 98, 0.3);
}

.time-adjusters {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.time-adjuster {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.adjust-btn {
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adjust-btn:hover {
    background: #f1f5f9;
}

.adjust-icon {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.time-value {
    font-size: 32px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #374151;
    min-width: 48px;
    text-align: center;
}

.colon {
    font-size: 48px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #9ca3af;
}

.period-separator {
    width: 1px;
    height: 64px;
    background: #d1d5db;
    margin: 0 16px;
}

.period-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border: none;
    border-radius: 8px;
    padding: 24px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.period-btn:hover {
    background: #dbeafe;
}

.period-text {
    font-size: 16px;
    font-weight: 600;
    color: #181A1F;
}

.quick-times {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.quick-time-btn {
    padding: 8px 12px;
    background: #f8fafc;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quick-time-btn:hover {
    background: #f1f5f9;
}

.done-btn {
    width: 100%;
    background: #181A1F;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(98, 98, 98, 0.3);
}

.done-btn:hover {
    background: #626262;
}

.selected-time {
    margin-top: 32px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.selected-time-label {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 4px;
}

.selected-time-value {
    font-size: 20px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #374151;
}

/*.hidden {*/
/*    display: none !important;*/
/*}*/
.timepicker-dropdown.complete-booking-dropdown {
    margin-top: -14px;
}

@media (min-width: 1399.98px) {
    #dropdown {
        margin-left: -100px;
    }
}