.selected-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    margin: 8px 0;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.selected-service:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.remove-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.remove-btn:hover::before {
    transform: scale(1);
}

.bin-icon {
    width: 18px;
    height: 18px;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.remove-btn:hover .bin-icon {
    transform: scale(1.1);
    color: #ff4444;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.remove-btn:active {
    animation: shake 0.2s ease-in-out;
}

.remove-btn:active .bin-icon {
    transform: scale(0.9);
    color: #ff0000;
}

.remove-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.remove-icon .line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
}

.remove-icon .line1 {
    transform: rotate(45deg);
}

.remove-icon .line2 {
    transform: rotate(-45deg);
}

.remove-service:hover .line1 {
    transform: rotate(135deg);
}

.remove-service:hover .line2 {
    transform: rotate(-135deg);
}

.remove-service:active {
    animation: shake 0.2s ease-in-out;
    background: rgba(0, 0, 0, 1);
}

.calculator-modal .modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #66CCFF rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar for Webkit browsers */
.calculator-modal .modal-content::-webkit-scrollbar {
    width: 8px;
}

.calculator-modal .modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 16px 16px 0;
}

.calculator-modal .modal-content::-webkit-scrollbar-thumb {
    background: #66CCFF;
    border-radius: 4px;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.calculator-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #3399CC;
}

/* Firefox scrollbar */
.calculator-modal .modal-content {
    scrollbar-width: thin;
    scrollbar-color: #66CCFF rgba(0, 0, 0, 0.1);
} 