.extra-services-form-wrapper {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.extra-services-form-wrapper h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
}

.extra-services-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.extra-services-form input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.extra-services-form input[type="text"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.extra-services-form .button {
    padding: 10px 20px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.extra-services-form .button:hover {
    background: #005a87;
}

.extra-services-form .button:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

#service-code-message {
    min-height: 20px;
    margin-bottom: 10px;
}

.service-message {
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.service-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.service-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#applied-services {
    margin-top: 15px;
}

.applied-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.applied-services-list li {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.applied-services-list li.service-add {
    border-left: 4px solid #28a745;
}

.applied-services-list li.service-remove {
    border-left: 4px solid #dc3545;
}

.service-info {
    flex: 1;
    min-width: 200px;
}

.service-name {
    font-weight: 600;
    color: #495057;
    display: block;
    margin-bottom: 4px;
}

.service-code {
    font-size: 12px;
    color: #6c757d;
    font-family: monospace;
}

.service-description {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
    display: block;
}

.service-price {
    font-weight: 600;
    color: #495057;
    font-size: 16px;
}

.service-add .service-price {
    color: #28a745;
}

.service-remove .service-price {
    color: #dc3545;
}

.service-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.service-remove-btn:hover {
    background: #c82333;
}

.extra-services-checkout-summary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.extra-services-checkout-summary h3 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 18px;
}

.extra-services-checkout-summary .applied-services-list li {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.extra-services-checkout-summary .service-add {
    border-left: 4px solid #28a745;
}

.extra-services-checkout-summary .service-remove {
    border-left: 4px solid #dc3545;
}

.service-item {
    position: relative;
}

.service-item .service-name {
    font-weight: 600;
    margin-right: 10px;
}

.service-item .service-code {
    font-size: 12px;
    color: #6c757d;
    margin-right: 10px;
}

.service-item .service-price {
    font-weight: 600;
    color: #495057;
}

.service-item.service-add .service-price {
    color: #28a745;
}

.service-item.service-remove .service-price {
    color: #dc3545;
}

.service-item .service-description {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
    display: block;
}

@media (max-width: 768px) {
    .extra-services-form {
        flex-direction: column;
    }
    
    .extra-services-form input[type="text"] {
        min-width: 100%;
    }
    
    .applied-services-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-price {
        margin-top: 8px;
    }
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 