  input[type=number]::-webkit-outer-spin-button,
  input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Firefox */
  input[type=number] {
    -moz-appearance: textfield;
  }

   :root {
            --primary-green: #4ade80;
            --dark-green: #16a34a;
            --darker-bg: #051810;
            --card-bg: #0f3a26;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --text-dark: #1f2937;
            --text-gray: #6b7280;
            --border-color: #e5e7eb;
        }
  
        /* Popup Overlay */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(5, 24, 16, 0.85);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            overflow-y: auto;
        }

        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Popup Container */
        .popup-container {
            background: var(--white);
            border-radius: 24px;
            max-width: 520px;
            width: 100%;
            position: relative;
            transform: translateY(30px);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            margin: auto;
            max-height: 95vh;
            display: flex;
            flex-direction: column;
        }

        .popup-overlay.active .popup-container {
            transform: translateY(0);
        }

        /* Decorative Top Bar */
        .top-bar {
            height: 6px;
            background: linear-gradient(90deg, var(--dark-green), var(--primary-green), var(--dark-green));
            background-size: 200% 100%;
            animation: shimmer 3s linear infinite;
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        /* Header */
        .popup-header {
            padding: 40px 40px 30px;
            text-align: center;
            position: relative;
        }

        .icon-circle {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            position: relative;
        }

        .icon-circle::before {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
            opacity: 0.3;
            filter: blur(10px);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.3; }
            50% { transform: scale(1.1); opacity: 0.5; }
        }

        .icon-circle i {
            font-size: 28px;
            color: var(--white);
            position: relative;
            z-index: 1;
        }

        .popup-header h2 {
            color: var(--text-dark);
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .popup-header p {
            color: var(--text-gray);
            font-size: 0.9rem;
            margin: 0;
        }

        /* Close Button */
        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 36px;
            height: 36px;
            background: var(--light-gray);
            border: none;
            border-radius: 50%;
            color: var(--text-gray);
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .close-btn:hover {
            background: var(--text-dark);
            color: var(--white);
            transform: rotate(90deg);
        }

        /* Form Body */
        .popup-body {
            padding: 0 40px 35px;
            flex: 1;
            overflow-y: auto;
        }

        /* Form Group */
        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-gray);
            font-size: 18px;
            transition: color 0.3s ease;
            pointer-events: none;
        }

        .form-control {
            width: 100%;
            padding: 15px 18px 15px 50px;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            font-size: 0.95rem;
            color: var(--text-dark);
            background: var(--white);
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-green);
            background: var(--light-gray);
        }

        .form-control:focus ~ .input-icon {
            color: var(--primary-green);
        }

        .form-control::placeholder {
            color: var(--text-gray);
            opacity: 0.6;
        }

        /* Input Focus Effect */
        .input-wrapper::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--dark-green), var(--primary-green));
            transform: translateX(-50%);
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .form-control:focus + .input-icon + .input-wrapper::after {
            width: 100%;
        }

        /* Submit Button */
        .submit-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
            color: var(--white);
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 25px;
            position: relative;
            overflow: hidden;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.6s ease;
        }

        .submit-btn:hover::before {
            left: 100%;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(74, 222, 128, 0.3);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        .submit-btn i {
            font-size: 18px;
            transition: transform 0.3s ease;
        }

        .submit-btn:hover i {
            transform: translateX(3px);
        }

        /* Trigger Button */
        .trigger-btn {
            padding: 16px 40px;
            background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
            color: var(--white);
            border: none;
            border-radius: 12px;
            font-size: 1.05rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(74, 222, 128, 0.3);
        }

        .trigger-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(74, 222, 128, 0.4);
        }

        /* Success Message */
        .success-message {
            display: none;
            text-align: center;
            padding: 60px 40px;
        }

        .success-message.active {
            display: block;
            animation: fadeInUp 0.5s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .success-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 40px;
            color: var(--white);
            position: relative;
        }

        .success-icon::before {
            content: '';
            position: absolute;
            inset: -8px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
            opacity: 0.2;
            filter: blur(15px);
        }

        .success-message h3 {
            color: var(--text-dark);
            font-size: 1.6rem;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .success-message p {
            color: var(--text-gray);
            font-size: 1rem;
            line-height: 1.6;
        }

        /* Responsive */
        @media (max-width: 576px) {
            .popup-overlay {
                padding: 15px;
            }

            .popup-container {
                max-width: 100%;
                border-radius: 20px;
                max-height: 90vh;
            }

            .popup-header {
                padding: 25px 25px 15px;
            }

            .icon-circle {
                width: 55px;
                height: 55px;
                margin-bottom: 12px;
            }

            .icon-circle i {
                font-size: 24px;
            }

            .popup-header h2 {
                font-size: 1.5rem;
            }

            .popup-header p {
                font-size: 0.85rem;
            }

            .popup-body {
                padding: 0 25px 30px;
            }

            .form-group {
                margin-bottom: 18px;
            }

            .form-control {
                padding: 13px 16px 13px 46px;
                font-size: 0.9rem;
            }

            .input-icon {
                left: 16px;
                font-size: 16px;
            }

            .submit-btn {
                padding: 13px;
                margin-top: 20px;
                font-size: 0.95rem;
            }

            .success-message {
                padding: 40px 25px;
            }

            .success-icon {
                width: 70px;
                height: 70px;
                font-size: 35px;
                margin-bottom: 20px;
            }

            .success-message h3 {
                font-size: 1.4rem;
            }

            .success-message p {
                font-size: 0.9rem;
            }

            .close-btn {
                top: 15px;
                right: 15px;
                width: 32px;
                height: 32px;
                font-size: 18px;
            }
        }

        @media (max-width: 400px) {
            .popup-overlay {
                padding: 10px;
            }

            .popup-container {
                border-radius: 16px;
            }

            .popup-header {
                padding: 20px 20px 12px;
            }

            .icon-circle {
                width: 50px;
                height: 50px;
            }

            .icon-circle i {
                font-size: 22px;
            }

            .popup-header h2 {
                font-size: 1.35rem;
            }

            .popup-body {
                padding: 0 20px 25px;
            }

            .form-group {
                margin-bottom: 16px;
            }

            .form-control {
                padding: 12px 14px 12px 44px;
                font-size: 0.88rem;
            }

            .input-icon {
                left: 14px;
            }

            .submit-btn {
                padding: 12px;
                font-size: 0.9rem;
            }
        }

        @media (max-height: 700px) {
            .popup-header {
                padding: 20px 30px 15px;
            }

            .icon-circle {
                width: 50px;
                height: 50px;
                margin-bottom: 10px;
            }

            .icon-circle i {
                font-size: 24px;
            }

            .popup-header h2 {
                font-size: 1.5rem;
                margin-bottom: 6px;
            }

            .popup-header p {
                font-size: 0.85rem;
            }

            .form-group {
                margin-bottom: 16px;
            }

            .submit-btn {
                margin-top: 20px;
                padding: 13px;
            }
        }