
        .emailContainer {
            max-width: 900px;
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .emailHeader {
            background: #4a90e2;
            color: white;
            padding: 20px;
            font-size: 24px;
            font-weight: 600;
        }

        .emailComposer {
            padding: 20px;
        }

        .field-group {
            margin-bottom: 15px;
        }

        

        #emailBody:focus {
            outline: none;
            border-color: #4a90e2;
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
        }

        #emailBody {
            width: 100%;
            min-height: 300px;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            font-family: inherit;
            resize: vertical;
            line-height: 1.6;
        }

        .paste-hint {
            background: #e3f2fd;
            border-left: 4px solid #4a90e2;
            padding: 12px;
            margin-bottom: 15px;
            border-radius: 4px;
            font-size: 13px;
            color: #1976d2;
        }

        .paste-hint strong {
            display: block;
            margin-bottom: 5px;
        }

        .images-container {
            margin-top: 15px;
        }

        .image-preview {
            position: relative;
            display: inline-block;
            margin: 10px 10px 10px 0;
            border: 2px solid #ddd;
            border-radius: 4px;
            overflow: hidden;
            background: #f9f9f9;
        }

        .image-preview img {
            display: block;
            max-width: 200px;
            max-height: 200px;
            object-fit: contain;
        }

        .image-preview .remove-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background: #ff4444;
            color: white;
            border: none;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            cursor: pointer;
            font-size: 16px;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .image-preview .remove-btn:hover {
            background: #cc0000;
        }

        .image-info {
            padding: 5px 8px;
            font-size: 11px;
            color: #666;
            background: #f0f0f0;
            border-top: 1px solid #ddd;
    

        .preview-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            padding: 20px;
            overflow: auto;
        }

        .preview-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .preview-content {
            background: white;
            border-radius: 8px;
            max-width: 800px;
            width: 100%;
            max-height: 90vh;
            overflow: auto;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .preview-header {
            background: #333;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1;
        }

        .preview-close {
            background: transparent;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
        }

        .preview-body {
            padding: 20px;
        }

        .preview-body h3 {
            margin-bottom: 10px;
            color: #333;
            border-bottom: 1px solid #ddd;
            padding-bottom: 5px;
        }

        .preview-body p {
            margin-bottom: 8px;
            color: #666;
        }

        .preview-email-body {
            margin-top: 20px;
            padding: 15px;
            background: #f9f9f9;
            border-radius: 4px;
            line-height: 1.6;
            white-space: pre-wrap;
        }

        .preview-email-body img {
            max-width: 100%;
            height: auto;
            margin: 10px 0;
            border-radius: 4px;
        }

        .status-message {
            padding: 12px;
            margin-top: 15px;
            border-radius: 4px;
            display: none;
        }

        .status-message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .status-message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .status-message.active {
            display: block;
        }