* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .tw_admin_mail_container {
            min-height: 100vh;
            padding: 10px;
        }

        
        .tw_main_form_wrapper {
            background: white;
            border-radius: 10px;
            padding: 40px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            max-width: 1200px;
            margin: 0 auto;
        }

        .tw_form_section_divider {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-bottom: 30px;
        }

        .tw_input_group_wrapper {
            margin-bottom: 25px;
        }

        .tw_custom_label {
            display: block;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .tw_form_input_field, .tw_textarea_field, .tw_select_field {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .tw_form_input_field:focus, .tw_textarea_field:focus, .tw_select_field:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .tw_textarea_field {
            resize: vertical;
            min-height: 120px;
        }

        .tw_logo_upload_section {
            border: 2px dashed #cbd5e0;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            transition: border-color 0.3s ease;
        }

        .tw_logo_upload_section:hover {
            border-color: #667eea;
        }

        .tw_logo_preview_grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 15px;
        }

        .tw_logo_preview_item {
            position: relative;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid #e2e8f0;
            margin: 0 auto;
        }

        .tw_logo_preview_img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .tw_price_section_wrapper {
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 25px;
        }

        .tw_price_style_options {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 15px;
        }

        .tw_radio_option_wrapper {
            display: flex;
            align-items: center;
            padding: 10px;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tw_radio_option_wrapper:hover {
            border-color: #cbd5e0;
        }

        .tw_radio_option_wrapper.tw_radio_selected {
            border-color: #667eea;
            background-color: rgba(102, 126, 234, 0.05);
        }

        .tw_table_builder_section {
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 25px;
        }

        .tw_table_controls_wrapper {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .tw_btn_small {
            padding: 8px 16px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .tw_btn_add {
            background: #48bb78;
            color: white;
        }

        .tw_btn_remove {
            background: #f56565;
            color: white;
        }

        .tw_table_preview {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
        }

        .tw_table_preview th, .tw_table_preview td {
            border: 1px solid #e2e8f0;
            padding: 8px 12px;
            text-align: left;
        }

        .tw_table_preview th {
            background: #f7fafc;
            font-weight: 600;
        }

        .tw_editable_cell {
            background: transparent;
            border: none;
            width: 100%;
            padding: 4px;
        }

        .tw_checkbox_wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 15px;
        }

        .tw_recipients_grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
            margin-top: 15px;
            max-height: 300px;
            overflow-y: auto;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 15px;
        }

        .tw_recipient_option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tw_recipient_option:hover {
            background-color: #f7fafc;
        }

        .tw_recipient_info {
            display: flex;
            flex-direction: column;
        }

        .tw_recipient_name {
            font-weight: 600;
            color: #2d3748;
            font-size: 13px;
        }

        .tw_recipient_email {
            color: #718096;
            font-size: 11px;
        }

        .tw_submit_btn_wrapper {
            text-align: center;
            margin-top: 40px;
        }

        .tw_submit_main_btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .tw_submit_main_btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .tw_full_width {
            grid-column: 1 / -1;
        }

        .tw_file_upload_wrapper {
            position: relative;
            overflow: hidden;
            display: inline-block;
        }

        .tw_file_input_hidden {
            position: absolute;
            left: -9999px;
        }

        .tw_file_upload_btn {
            background: #4299e1;
            color: white;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            display: inline-block;
            transition: all 0.3s ease;
        }

        .tw_file_upload_btn:hover {
            background: #3182ce;
        }

        .tw_loading_overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 9999;
        }

        .tw_loading_content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
        }

        .tw_spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid #667eea;
            border-radius: 50%;
            animation: tw_spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes tw_spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @media (max-width: 768px) {
            .tw_form_section_divider {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .tw_price_style_options {
                grid-template-columns: 1fr;
            }
            
            .tw_recipients_grid {
                grid-template-columns: 1fr;
            }
        }