/* Service Request Form Styles */
.service-request-form {
    background: rgba(31, 31, 58, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 600px;
    border: 1px solid #00a8ff;
}

.service-request-form h3 {
    color: #00a8ff;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #00a8ff, #e53995);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label::after {
    content: " *";
    color: #e53995;
    font-weight: bold;
}

.form-group label:not([for*="required"])::after {
    content: "";
}

/* Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #3c3c5a;
    border-radius: 8px;
    background-color: rgba(26, 26, 46, 0.8);
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00a8ff;
    box-shadow: 0 0 0 1px rgba(0, 168, 255, 0.3);
    background-color: rgba(26, 26, 46, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8a8a9a;
}

.form-group small {
    display: block;
    color: #b0b0c0;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* Phone Input Container */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #3c3c5a;
    border-radius: 8px;
    background-color: rgba(26, 26, 46, 0.8);
    transition: all 0.3s ease;
    overflow: hidden;
}

.phone-input-container:focus-within {
    border-color: #00a8ff;
    box-shadow: 0 0 0 1px rgba(0, 168, 255, 0.3);
    background-color: rgba(26, 26, 46, 0.9);
}

.phone-prefix {
    background: linear-gradient(135deg, #00a8ff, #0095e0);
    color: white;
    padding: 0.8rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-right: 1px solid #3c3c5a;
    white-space: nowrap;
}

.phone-input-container input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    flex: 1;
    margin: 0;
    padding: 0.8rem 1rem;
}

.phone-input-container input:focus {
    outline: none;
    border: none !important;
    box-shadow: none !important;
}

/* Service Details Section */
.service-details-section {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #3c3c5a;
}

.service-details-section h4 {
    color: #e53995;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Price Display */
.price-display {
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1), rgba(229, 57, 149, 0.1));
    border: 1px solid #00a8ff;
    border-radius: 10px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
}

.price-info {
    color: #e0e0e0;
    font-size: 1.1rem;
}

.price-info strong {
    color: #00a8ff;
    font-size: 1.3rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #00a8ff, #e53995);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 168, 255, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.submit-btn.error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.loading-spinner i {
    animation: spin 1s linear infinite;
}

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

/* Success and Error Messages */
.success-message,
.error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.success-message i {
    color: #28a745;
}

.error-message i {
    color: #dc3545;
}

/* Payment Status */
.payment-status {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid #3c3c5a;
}

.payment-instructions {
    text-align: center;
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.payment-header i {
    font-size: 2rem;
    color: #00a8ff;
}

.payment-header h4 {
    color: #e0e0e0;
    margin: 0;
}

.payment-details {
    background: rgba(0, 168, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: left;
}

.payment-details p {
    margin: 0.5rem 0;
    color: #b0b0c0;
}

.payment-details strong {
    color: #e0e0e0;
}

.payment-instructions-text {
    margin: 1.5rem 0;
}

.payment-instructions-text p {
    color: #b0b0c0;
    margin: 0.5rem 0;
}

.payment-instructions-text i {
    color: #00a8ff;
    margin-right: 0.5rem;
}

/* Payment Status Buttons */
.check-payment-btn,
.retry-btn {
    background: linear-gradient(135deg, #00a8ff, #0095e0);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
}

.check-payment-btn:hover,
.retry-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

.retry-btn {
    background: linear-gradient(135deg, #e53995, #dc3545);
}

/* Payment Success */
.payment-success {
    text-align: center;
    padding: 2rem;
}

.payment-success i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.payment-success h4 {
    color: #28a745;
    margin-bottom: 1rem;
}

.payment-success p {
    color: #b0b0c0;
    margin: 0.5rem 0;
}

/* Payment Failed */
.payment-failed {
    text-align: center;
    padding: 2rem;
}

.payment-failed i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.payment-failed h4 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.payment-failed p {
    color: #b0b0c0;
    margin: 0.5rem 0;
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #e53995;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #28a745;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .service-request-form {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .service-request-form h3 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .payment-status {
        padding: 1rem;
    }
    
    .payment-success,
    .payment-failed {
        padding: 1.5rem;
    }
    
    .payment-success i,
    .payment-failed i {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .service-request-form {
        padding: 1rem;
    }
    
    .service-details-section {
        padding: 1rem;
    }
    
    .payment-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .payment-header i {
        font-size: 1.5rem;
    }
    
    .check-payment-btn,
    .retry-btn {
        width: 100%;
        justify-content: center;
        margin: 0.5rem 0;
    }
}

/* Animation for form appearance */
.service-request-form {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
