﻿ .popup {
            display: none;
            position: fixed;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 60%;
            max-width: 500px; 
            padding: 20px;
            background: #fff;          
            border-radius: 25px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            box-sizing: border-box;
            overflow-y: auto;
        }

        .popup .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 24px;
            font-weight: bold;
            color: #aaa;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .popup .close-btn:hover {
            color: #333;
        }

        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }

        .form-panel {
            position: relative;
        }

        .form-panel h3 {
            margin: 0;
            font-size: 20px;
            color: #333;
            text-align: center;
            padding-bottom: 10px;
        }

        .form-input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 16px;
            outline: none;
        }

        .form-input:focus {
            border-color: #29d4e2;
            box-shadow: 0 0 5px rgba(41, 212, 226, 0.5);
        }

        .form-button {
            width: 100%;
            padding: 10px;
            background: #276043;
            border: none;
            border-radius: 4px;
            color: #fff;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .form-button:hover {
            background: #1b9aa7;
        }
        #popupForm h4
        {
            text-align:center;
            color:#276043;
        }
        
        /* Responsive styles */
        @media (max-width: 600px) {
            .popup {
                width: 95%;
                max-width: 90%; 
                padding: 15px;
            }

            .popup .close-btn {
                font-size: 20px;
                top: 5px;
                right: 5px;
            }

            .form-panel h3 {
                font-size: 18px;
                padding-bottom: 5px;
            }

            .form-input {
                padding: 8px;
                font-size: 14px;
            }

            .form-button {
                padding: 8px;
                font-size: 14px;
            }
        }

        @media (max-width: 400px) {
           .popup {
        width: 90%;
        max-width: 90%;
         padding: 20px;
                  }

            .popup .close-btn {
              font-size: 20px;
        top: 15px;
        right: 20px;
            }

            .form-panel h3 {
                font-size: 16px;
                padding-bottom: 0;
            }

            .form-input {
                padding: 6px;
                font-size: 12px;
            }

            .form-button {
                padding: 6px;
                font-size: 12px;
            }
        }