/* Custom Month Picker Styling */
.month-picker-container {
    position: relative;
}

.month-picker-container .row {
    margin: 0;
}

.month-picker-container .col-7,
.month-picker-container .col-5,
.month-picker-container .col-sm-8,
.month-picker-container .col-sm-4 {
    padding-left: 0;
    padding-right: 5px;
}

.month-picker-container .col-5,
.month-picker-container .col-sm-4 {
    padding-right: 0;
}

.month-picker-container select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.month-picker-container select:hover {
    border-color: #007bff;
}

.month-picker-container select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.month-picker-container select option {
    padding: 8px;
    font-size: 16px;
}

/* Mobile specific improvements */
@media (max-width: 768px) {
    .month-picker-container select {
        font-size: 16px;
        padding: 12px 16px;
        min-height: 48px;
    }
    
    .month-picker-container .col-7,
    .month-picker-container .col-5 {
        margin-bottom: 8px;
    }
    
    .month-picker-container .col-7:last-child,
    .month-picker-container .col-5:last-child {
        margin-bottom: 0;
    }
}

/* Very small screens - stack month and year vertically */
@media (max-width: 480px) {
    .month-picker-container .row {
        flex-direction: column;
    }
    
    .month-picker-container .col-7,
    .month-picker-container .col-5 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 8px;
    }
    
    .month-picker-container .col-5 {
        margin-bottom: 0;
    }
}
