  

        /* Modal overlay and container */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            backdrop-filter: blur(5px);
        }

        .modal-container {
            background: white;
            border-radius: 24px;
            max-width: 900px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
            position: relative;
            animation: modalSlideIn 0.3s ease;
            transform: translateY(20px);
        }

        @keyframes modalSlideIn {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #ef4444;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .modal-close:hover {
            transform: rotate(90deg) scale(1.1);
            background: #dc2626;
        }

        /* Trigger button */
        .trigger-btn {
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            color: white;
            border: none;
            padding: 18px 45px;
            font-size: 18px;
            font-weight: 600;
            border-radius: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
        }

        .trigger-btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
        }

        /* Form styles - simplified from original */
        .form-container {
            padding: 50px;
        }

        .form-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .form-title {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 12px;
            color: #0f172a;
            font-family: 'Poppins', sans-serif;
        }

        .form-subtitle {
            color: #64748b;
            font-size: 16px;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin-bottom: 25px;
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }
            .form-container {
                padding: 30px 20px;
            }
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-label {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
            font-weight: 600;
            color: #334155;
            font-size: 15px;
        }

        .form-label i {
            color: #3b82f6;
            font-size: 16px;
            background: #eff6ff;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .form-input {
            padding: 16px 18px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 15px;
            font-family: 'Inter', sans-serif;
            transition: all 0.3s ease;
            background: #f8fafc;
        }

        .form-input:focus {
            outline: none;
            border-color: #3b82f6;
            background: white;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
        }

        .form-input::placeholder {
            color: #94a3b8;
        }

        textarea.form-input {
            min-height: 150px;
            resize: vertical;
            line-height: 1.5;
        }

        /* Team selection */
        .team-section {
            background: #f8fafc;
            padding: 35px;
            border-radius: 16px;
            margin: 30px 0;
            border: 1px solid #e2e8f0;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .team-card {
            position: relative;
        }

        .team-card input {
            position: absolute;
            opacity: 0;
        }

        .team-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 25px 15px;
            background: white;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .team-card input:checked + .team-label {
            border-color: #3b82f6;
            background: #eff6ff;
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15);
        }

        .team-label:hover {
            border-color: #3b82f6;
            transform: translateY(-3px);
        }

        .team-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            color: white;
            font-size: 22px;
        }

        .team-label h4 {
            font-size: 16px;
            margin-bottom: 5px;
            color: #1e293b;
        }

        .team-label p {
            font-size: 13px;
            color: #64748b;
            line-height: 1.4;
        }

        /* Other details */
        .other-details {
            margin-top: 25px;
            padding: 25px;
            background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(59, 130, 246, 0.08));
            border-radius: 12px;
            border-left: 4px solid #10b981;
            display: none;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Form footer */
        .form-footer {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid #e2e8f0;
        }

        .security-note {
            display: flex;
            align-items: center;
            gap: 15px;
            background: #f0fdf4;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 30px;
            border: 1px solid rgba(16, 185, 129, 0.2);
        }

        .security-note i {
            color: #10b981;
            font-size: 24px;
        }

        .security-note div {
            flex: 1;
        }

        .security-note strong {
            color: #065f46;
        }

        .submit-area {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .submit-btn {
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            color: white;
            border: none;
            padding: 18px 45px;
            font-size: 17px;
            font-weight: 600;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
            overflow: hidden;
        }

        .submit-btn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(59, 130, 246, 0.3);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .trust-badge {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #64748b;
            font-size: 14px;
        }

        .trust-badge i {
            color: #10b981;
            font-size: 20px;
        }

        /* Success message */
        .success-message {
            display: none;
            text-align: center;
            padding: 70px 40px;
        }

        .success-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #10b981, #3b82f6);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 40px;
            color: white;
            font-size: 40px;
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
        }

        .success-message h3 {
            font-size: 36px;
            margin-bottom: 20px;
            color: #0f172a;
            font-family: 'Poppins', sans-serif;
        }

        .success-message p {
            font-size: 18px;
            color: #475569;
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .success-actions {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 50px;
            flex-wrap: wrap;
        }

        .action-btn {
            padding: 16px 35px;
            font-size: 16px;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 180px;
            justify-content: center;
        }

        .action-primary {
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            color: white;
            border: none;
        }

        .action-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.25);
        }

        .action-secondary {
            background: white;
            color: #475569;
            border: 2px solid #e2e8f0;
        }

        .action-secondary:hover {
            border-color: #3b82f6;
            color: #3b82f6;
            transform: translateY(-3px);
        }
    