/* Tablet-specific styles for email layout */
@media (min-width: 768px) and (max-width: 991.98px) {
    .email-container .d-flex {
        gap: 6px;
    }

    .email-sidebar {
        flex: 0 0 220px !important;
        min-width: 200px !important;
        max-width: 250px !important;
        display: block !important;
    }

    .email-list:not(.email-list-only) {
        flex: 0 0 350px !important;
        min-width: 300px !important;
        max-width: 400px !important;
    }

    .email-content:not(.hidden) {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .email-splitter {
        display: block !important;
        margin: 0;
        width: 6px;
        background-color: #f8f9fa;
        cursor: col-resize;
        position: relative;
    }

    .email-splitter:hover {
        background-color: #e9ecef;
    }

    .email-splitter::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        height: 40px;
        background: repeating-linear-gradient(
            to right,
            transparent,
            transparent 2px,
            #dee2e6 2px,
            #dee2e6 4px
        );
        pointer-events: none;
    }
}
