﻿.shift-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #212529;
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%230d6efd" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    max-width: 250px;
    margin: 0 auto 20px auto;
    text-align: center;
    text-align-last: center;
}

    .shift-select:hover,
    .shift-select:focus {
        border-color: #084298;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
        outline: none;
    }

    .shift-select.no-chevron {
        background-image: none !important;
        padding-right: 16px;
    }

.shift-group {
    position: relative;
    margin: 0 auto 20px auto;
}

.shift-input {
    padding: 14px 16px;
    font-size: 1.1rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    line-height: 1.4;
}

.shift-label {
    position: absolute;
    left: 20px; 
    top: 14px; 
    font-size: 1.1rem;
    color: #777;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: white;
    padding: 0 6px;
}

.shift-label-col-md-4 {
    position: absolute;
    left: 20px;
    top: 50px;
    font-size: 1.1rem;
    color: #777;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: white;
    padding: 0 6px;
}



/* Floating state */
.shift-input:focus + .shift-label,
.shift-input:not(:placeholder-shown) + .shift-label {
    top: -10px;
    transform: none;
    font-size: 12px;
    color: var(--primary);
}

.shift-input:focus + .shift-label-col-md-4,
.shift-input:not(:placeholder-shown) + .shift-label-col-md-4 {
    top: 19px;
    transform: none;
    font-size: 12px;
    color: var(--primary);
}

