/* Birthday Selector Moderno */
.birthday-selector-modern {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e3e6f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.birthday-selector-modern:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Header */
.birthday-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f2ff;
}

.birthday-header .fa-birthday-cake {
    font-size: 18px;
    margin-right: 10px;
    color: #ff6b9d;
}

.birthday-label {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

/* Selectors Container */
.birthday-selectors {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .birthday-selectors {
        flex-direction: column;
        gap: 12px;
    }
}

/* Individual Fields */
.birthday-field {
    flex: 1;
    position: relative;
}

.birthday-field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* UI-Select Customização */
.birthday-select .ui-select-container {
    position: relative;
}

.birthday-select .ui-select-match {
    background: white;
    border: 2px solid #e3e6f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.birthday-select .ui-select-match:hover {
    border-color: #5a9fd4;
    background: #fafbff;
}

.birthday-select .ui-select-match:focus,
.birthday-select.open .ui-select-match {
    border-color: #5a9fd4;
    box-shadow: 0 0 0 3px rgba(90, 159, 212, 0.1);
    background: white;
}

.birthday-select .ui-select-match .fa {
    margin-right: 8px;
    font-size: 16px;
}

/* Dropdown */
.birthday-select .ui-select-choices {
    background: white;
    border: 2px solid #e3e6f0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
}

.birthday-select .ui-select-choices-row {
    border-bottom: 1px solid #f8f9fa;
}

.birthday-select .ui-select-choices-row:last-child {
    border-bottom: none;
}

.birthday-select .ui-select-choices-row:hover {
    background: linear-gradient(135deg, #f0f2ff 0%, #ffffff 100%);
}

.birthday-select .ui-select-choices-row.active {
    background: linear-gradient(135deg, #5a9fd4 0%, #4a8bc2 100%);
    color: white;
}

/* Options */
.birthday-option {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.day-number {
    font-weight: 600;
    font-size: 16px;
}

.month-name {
    font-weight: 500;
}

.month-number {
    font-size: 12px;
    opacity: 0.7;
}

/* Preview */
.birthday-preview {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f9f0 100%);
    border: 1px solid #c3e6c3;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

.birthday-preview .fa-check-circle {
    margin-right: 10px;
    font-size: 16px;
}

.preview-text {
    font-weight: 500;
    color: #2d5a2d;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de validação */
.birthday-selector-modern.ng-invalid.ng-dirty {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #fdf2f2 0%, #ffffff 100%);
}

.birthday-selector-modern.ng-invalid.ng-dirty .birthday-header {
    border-bottom-color: #f8d7da;
}

.birthday-selector-modern.ng-valid.ng-dirty {
    border-color: #27ae60;
}

/* Loading states */
.birthday-select .ui-select-refreshing {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

/* Simple Select Styles */
.birthday-select-simple {
    border: 2px solid #e3e6f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    min-height: 44px;
}

.birthday-select-simple:hover {
    border-color: #5a9fd4;
    background: #fafbff;
}

.birthday-select-simple:focus {
    border-color: #5a9fd4;
    box-shadow: 0 0 0 3px rgba(90, 159, 212, 0.1);
    outline: none;
    background: white;
}

.birthday-select-simple option {
    padding: 8px;
}

/* Responsivo */
@media (max-width: 480px) {
    .birthday-selector-modern {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .birthday-header {
        margin-bottom: 15px;
    }
    
    .birthday-label {
        font-size: 14px;
    }
    
    .birthday-selectors {
        gap: 10px;
    }
}