/* Button to open modal */
        .feedback1_btn {
            
            bottom: 30px;
            right: 30px;
            background: #3498db;
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 18px;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
            max-width: 240px;
        }
		
		
		.feedback1_d {
			text-align: center;
			background: #fff;
			padding: 12px;
		}
		
		
		
        .feedback1_btn:hover {
            background: #2980b9;
        }
        
         /* Modal styles */
        .feedback1_overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .feedback1_overlay.feedback1_active {
            display: flex;
            opacity: 1;
        }
        
        .feedback-form {
            max-width: 600px;
            width: 90%;
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0,0,0,0.3);
            transform: translateY(-50px);
            transition: transform 0.3s ease;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            margin: 20px;
        }
        
        .feedback1_overlay.feedback1_active .feedback-form {
            transform: translateY(0);
        }
        
        .feedback1_close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            background: none;
            border: none;
            color: #777;
        }
        
        h2 {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 30px;
            margin-top: 10px;
        }
        .form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #34495e;
        }
        input, textarea, select {
            width: calc(100% - 24px);
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            transition: border 0.3s;
            margin-bottom: 10px;
        }
        input:focus, textarea:focus, select:focus {
            border-color: #3498db;
            outline: none;
        }
        textarea {
            height: 150px;
            resize: vertical;
        }
        .submit-btn {
            background: #3498db;
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 18px;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
            transition: background 0.3s;
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .submit-btn:hover {
            background: #2980b9;
        }
        .status-message {
            margin-top: 20px;
            padding: 15px;
            border-radius: 5px;
            text-align: center;
            display: none;
        }
        .success {
            background: #d4edda;
            color: #155724;
        }
        .error {
            background: #f8d7da;
            color: #721c24;
        }
        optgroup {
            font-weight: bold;
            font-style: normal;
        }
        option[disabled] {
            color: #999;
            background: #f5f5f5;
        }
        
        /* Validation error styles */
        input:invalid, textarea:invalid, select:invalid {
            border-color: #f8d7da;
        }
        input:invalid:focus, textarea:focus:invalid, select:focus:invalid {
            border-color: #721c24;
        }
        
        /* Custom dropdown styles */
        select[name="type_cleaning_message"] {
            height: auto;
            min-height: 50px;
        }
        
        
        @media screen and (max-height: 800px) {
            select[name="type_cleaning_message"] {
                max-height: 300px; 
            }
        }
        
        select[name="type_cleaning_message"] {
            max-height: 400px; 
            overflow-y: auto; 
        }
        
        select[name="type_cleaning_message"] option {
            padding: 8px 12px;
            white-space: normal; 
        }
        
       
        @media screen and (max-width: 600px) {
            .feedback-form {
                width: 95%;
                padding: 20px;
            }
            
            select[name="type_cleaning_message"] {
                max-height: 250px; 
            }
        }
        
        /* Loading spinner styles */
        .spinner {
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
            display: none;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .submit-btn.loading .spinner {
            display: block;
        }
        
        .submit-btn.loading span {
            display: none;
        }