        /* ============================================
           MODALS
           ============================================ */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            overflow-y: auto;
        }

        .modal.active { display: block; }

        .modal-content {
            background: var(--white);
            margin: 2rem auto;
            max-width: 900px;
            border-radius: 14px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        }

        .modal-header {
            background: var(--navy);
            color: var(--white);
            padding: 1.5rem;
            border-radius: 14px 14px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h2 { font-size: 1.5rem; }

        .close-modal {
            background: none;
            border: none;
            color: var(--white);
            font-size: 2rem;
            cursor: pointer;
            line-height: 1;
        }

        .modal-body {
            padding: 2rem;
            max-height: 70vh;
            overflow-y: auto;
        }

        .detail-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .detail-item {
            padding: 1rem;
            background: var(--gray-light);
            border-radius: 8px;
            border-left: 3px solid var(--primary-orange);
        }

        .detail-label {
            font-size: 0.85rem;
            color: var(--gray-medium);
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .detail-value {
            font-size: 1.05rem;
            color: var(--gray-dark);
            font-weight: 500;
        }

        .detail-section { margin-bottom: 2rem; }

        .detail-section h3 {
            font-size: 1.2rem;
            color: var(--primary-orange);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary-orange);
        }

        .logo-custom {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .logo-text { text-align: center; line-height: 1.2; }

        /* Email modal */
        .email-modal {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.5);
            display: none; align-items: center; justify-content: center; z-index: 2000;
        }
        .email-modal.active { display: flex; }

        .email-content {
            background: var(--white);
            border-radius: 14px;
            max-width: 700px; width: 90%; max-height: 80vh; overflow-y: auto;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        }

        .email-header { background: var(--primary-orange); color: var(--white); padding: 1.5rem; border-radius: 14px 14px 0 0; }
        .email-body { padding: 2rem; }

        .email-preview {
            background: var(--gray-light); padding: 1.5rem; border-radius: 8px;
            margin: 1rem 0; border-left: 4px solid var(--primary-orange);
        }

        .btn-copy {
            background: var(--success); color: var(--white);
            padding: 0.75rem 1.5rem; border: none; border-radius: 6px;
            cursor: pointer; font-weight: 600; margin-right: 1rem;
        }

        .btn-close {
            background: var(--gray-medium); color: var(--white);
            padding: 0.75rem 1.5rem; border: none; border-radius: 6px;
            cursor: pointer; font-weight: 600;
        }

