    

        .card {
            max-width: 880px;
            width: 100%;
            background: white;
            border-radius: 32px;
            box-shadow: 0 20px 40px -12px rgba(0, 20, 30, 0.25);
            padding: 2rem 2rem 2.5rem;
            transition: all 0.2s ease;
        }

      .card h1 {
            font-size: 1.9rem;
            font-weight: 600;
            color: #0b2b3b;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border-bottom: 2px solid #e6edf4;
            padding-bottom: 1rem;
            margin-bottom: 1.8rem;
        }

        .card h1 i {
            color: #5d1e79;
            font-size: 1.8rem;
        }

        .customer-toggle {
            background: #e2b8f48f;
            border-radius: 60px;
            display: inline-flex;
            padding: 4px;
            margin-bottom: 2rem;
            gap: 6px;
            border: 1px solid #d9e2ec;
        }

        .toggle-btn {
            border: none;
            background: transparent;
            padding: 0.6rem 1.8rem;
            border-radius: 40px;
            font-weight: 600;
            font-size: 16px;
            color: #2d4a5a;
            cursor: pointer;
            transition: 0.15s;
            letter-spacing: 0.3px;
        }

        .toggle-btn.active {
            background: white;
            color: #0b2b3b;
            box-shadow: 0 4px 8px rgba(0,0,0,0.03);
            border: 1px solid #cbd8e6;
        }

        .toggle-btn:first-of-type.active {
            background: white;
        }

        .toggle-btn:hover:not(.active) {
            background: #dce5ef;
        }

        /* form grid */
        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem 1.8rem;
        }

        .full-width {
            grid-column: 1 / -1;
        }

        .field-group {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
            margin-bottom: 20px;
        }

        .field-group label {
            font-weight: 500;
            font-size: 14px;
            color: #1d3b4b;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .field-group label i {
            color: #5d1e79;
            font-size: 14px;
        }

        .field-group input,
        .field-group select,
        .field-group textarea {
            padding: 0.7rem 0.9rem;
            border: 1px solid #f1dff88f;
            border-radius: 16px;
            font-size: 14px;
            background: #f1dff88f;
            transition: 0.15s;
            font-family: inherit;
        }

        .field-group input:focus,
        .field-group select:focus,
        .field-group textarea:focus {
            outline: 2px solid #2b7a6e;
            outline-offset: 2px;
            border-color: transparent;
            background: white;
        }

        .field-group textarea {
            min-height: 60px;
            resize: vertical;
        }

        .inline-hint {
            font-size: 10px;
            color: #4b6a7a;
            margin-top: 0.2rem;
            opacity: 0.8;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .section-title {
            font-weight: 600;
            color: #1e4b5a;
            margin: 0.8rem 0 0.2rem 0;
            grid-column: 1 / -1;
            border-bottom: 1px dashed #bccfde;
            padding-bottom: 0.4rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .section-title i {
            color: #2b7a6e;
        }

        .highlight-box {
            background: #f1dff88f;
            border-radius: 20px;
            padding: 0.8rem 1.2rem;
            margin: 1.2rem 0 0.8rem 0;
            border-left: 5px solid #5d1e79;
            grid-column: 1 / -1;
        }

        .highlight-box p {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #0b3b3a;
            font-weight: 500;
            flex-wrap: nowrap;
            text-align: left;
            font-size: 13px;
        }

        .highlight-box i {
            color: #0b5b4e;
            font-size: 21px;
        }

        .checkbox-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding-top: 0.2rem;
        }

        .checkbox-group label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 400;
            font-size: 14px;
            color: #1f4050;
            cursor: pointer;
        }

        .checkbox-group input[type="checkbox"] {
            width: 1.1rem;
            height: 1.1rem;
            accent-color: #1d7a6a;
        }

        .action-row {
            grid-column: 1 / -1;
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 1.5rem;
            border-top: 1px solid #dde8f0;
            padding-top: 1.8rem;
        }

        .btn {
            padding: 0.75rem 2.5rem;
            border: none;
            border-radius: 60px;
            font-weight: 600;
            font-size: 1rem;
            background: #eef2f6;
            color: #1a3f4f;
            cursor: pointer;
            transition: 0.15s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary {
            background: #5d1e79;
            color: white;
            box-shadow: 0 4px 8px rgba(111, 21, 136, 0.2);
        }

        .btn-primary:hover {
            background: #7b52a0;
            transform: scale(1.02);
            box-shadow: 0 8px 14px rgba(79, 24, 94, 0.25);
        }

        .btn-secondary {
            background: #eab7fd;
        }

        .btn-secondary:hover {
            background: #5d1e79;
            color: #fff;
        }

        .status-message {
            grid-column: 1 / -1;
            margin-top: 0.5rem;
            padding: 0.7rem 1.2rem;
            border-radius: 60px;
            background: #e1f0ea;
            color: #0b4d3f;
            display: none;
            align-items: center;
            gap: 10px;
            font-weight: 500;
        }

        .status-message.show {
            display: flex;
        }

        /* responsive */
        @media (max-width: 680px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
            .full-width {
                grid-column: 1;
            }
            .card {
                padding: 1.5rem;
            }
            .customer-toggle {
                width: 100%;
                justify-content: stretch;
            }
            .toggle-btn {
                flex: 1;
                text-align: center;
            }
        }

        /* hide/show sections */
        .existing-fields, .new-fields {
            transition: opacity 0.2s;
        }

        .hidden-section {
            display: none !important;
        }

        small.required-star {
            color: #b44;
            margin-left: 3px;
        }
.highlight-box p.heading-5
{ 
   font-size: 18px;
   display: block;

  text-align: center;

  font-weight: 700;
 
}