﻿/* Container styles */
.duration-picker {
    position: relative;
    display: inline-block;
    width: 150px;
}

/* Input field style */
.duration-picker-input {
    width: 100%;
    padding: 8px;
    text-align: center;
    cursor: pointer;
}

/* Popup modal styles */
.duration-picker-popup {
    display: none; /* Hidden by default */
    position: absolute;
    top: 0; /* Align it with the top of the parent */
    left: -100%; /* Position the modal to the left of the parent */
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* Popup content layout */
.duration-picker-popup-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Space between hours, colon, and minutes */
}

.time-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-separator {
    font-size: 24px;
    font-weight: bold;
}

.time-selector button {
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

    /* Style for button hover */
    .time-selector button:hover {
        background-color: #ddd;
    }

.time-input {
    width: 50px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Optional: Add a custom hover effect for the input fields inside the popup */
.duration-picker-popup-content input:hover {
    background-color: #f9f9f9;
}

/* Prevent the anchor tags from changing the color of the glyphicon */
.duration-picker-popup a {
    color: inherit; /* Inherit color from parent (e.g., the default color) */
    text-decoration: none; /* Remove underline from links */
}

    .duration-picker-popup a:hover,
    .duration-picker-popup a:focus,
    .duration-picker-popup a:active {
        color: inherit; /* Keep the color unchanged on hover, focus, and active states */
    }
