/**
 * My WooCommerce Manager Frontend Styles
 * Version: 2.1.0 - Complete Isolation
 * 
 * IMPORTANT: All styles are completely isolated using specific plugin prefixes
 * This prevents ANY global CSS conflicts
 */

/* ========================================== */
/* BASE STYLES - ISOLATED TO PLUGIN ONLY      */
/* ========================================== */

/* Main plugin container and popups */
.mwm-manager-container,
.mwm-popup,
#mwm-store-closed-overlay {
    /* Font reset for plugin only */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    box-sizing: border-box;
}

/* Main container */
.mwm-manager-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    direction: rtl;
    font-size: 16px;
    line-height: 1.5;
}

/* Reset all elements within plugin */
.mwm-manager-container *,
.mwm-popup *,
#mwm-store-closed-overlay * {
    box-sizing: border-box;
}

/* Plugin sections */
.mwm-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.mwm-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Plugin specific headings */
.mwm-section-title {
    font-size: 22px !important;
    font-weight: bold !important;
    color: #333 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.mwm-manager-container h2.mwm-section-title {
    font-size: 22px !important;
}

.mwm-manager-container h3 {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #333 !important;
    margin: 0 0 15px 0 !important;
}

.mwm-manager-container h4 {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #333 !important;
}

/* Store status */
.mwm-store-status {
    display: flex;
    align-items: center;
}

/* Closed message */
.mwm-closed-message {
    background-color: #ff9800;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* Switch */
.mwm-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.mwm-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mwm-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.mwm-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.mwm-switch input:checked + .mwm-slider {
    background-color: #4CAF50;
}

.mwm-switch input:focus + .mwm-slider {
    box-shadow: 0 0 1px #4CAF50;
}

.mwm-switch input:checked + .mwm-slider:before {
    transform: translateX(26px);
}

.mwm-status-text {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

.mwm-status-open {
    color: #4CAF50;
}

.mwm-status-closed {
    color: #f44336;
}

/* Business Hours Management Styles */
.mwm-business-hours-container {
    background: white;
    border-radius: 8px;
    padding: 10px 0;
}

.mwm-day-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.2s;
}

.mwm-day-row:last-child {
    border-bottom: none;
}

.mwm-day-row:hover {
    background-color: #f9f9f9;
}

.mwm-current-day {
    background-color: #e8f5e9;
}

.mwm-day-name {
    width: 100px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.mwm-today-marker {
    background-color: #ff9800;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
}

.mwm-day-controls {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mwm-time-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mwm-time-input {
    width: 100px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.mwm-time-input:disabled {
    background-color: #f5f5f5;
    opacity: 0.6;
}

.mwm-time-separator {
    color: #666;
    font-weight: bold;
}

.mwm-hours-request-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.mwm-hours-request-btn:hover {
    background-color: #1976D2;
}

.mwm-hours-request-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Popups - completely isolated */
.mwm-popup,
.mwm-hours-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.mwm-popup-content,
.mwm-hours-popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.mwm-popup h3,
.mwm-popup-content h3,
.mwm-hours-popup-content h3 {
    font-size: 24px !important;
    margin: 0 0 20px 0 !important;
    color: #333 !important;
    font-weight: bold !important;
}

.mwm-popup p,
.mwm-popup-content p,
.mwm-hours-popup-content p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #333 !important;
    margin: 0 0 15px 0 !important;
}

.mwm-popup textarea,
.mwm-closure-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    resize: vertical;
    font-size: 16px;
    min-height: 100px;
}

.mwm-popup textarea:focus,
.mwm-closure-textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.mwm-popup-actions,
.mwm-popup-buttons,
.mwm-hours-popup-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Plugin buttons - completely isolated */
.mwm-popup-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px !important;
    font-weight: bold;
    transition: background-color 0.3s;
}

.mwm-popup-submit {
    background-color: #4CAF50;
    color: white;
}

.mwm-popup-submit:hover {
    background-color: #45a049;
}

.mwm-popup-cancel {
    background-color: #f44336;
    color: white;
}

.mwm-popup-cancel:hover {
    background-color: #d32f2f;
}

/* Success message */
#mwm-success-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    display: none;
    z-index: 10001;
    font-size: 16px;
}

/* Closed dates */
.mwm-closed-dates {
    margin-top: 20px;
}

.mwm-date-picker {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.mwm-date-picker:focus {
    border-color: #4CAF50;
    outline: none;
}

.mwm-date-tag {
    display: inline-block;
    background-color: #f1f1f1;
    padding: 8px 16px;
    margin: 5px;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.mwm-date-tag:hover {
    background-color: #e0e0e0;
}

.mwm-date-tag-remove {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    padding: 0;
    margin-right: 8px;
}

.mwm-add-date-btn {
    padding: 12px 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.mwm-add-date-btn:hover {
    background-color: #45a049;
}

/* Products */
.mwm-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mwm-product-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.mwm-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.mwm-product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.mwm-no-image,
.mwm-topping-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #999;
    font-size: 14px;
    height: 160px;
}

.mwm-topping-image {
    background-color: #fff3cd;
    height: 100px;
}

.mwm-topping-icon {
    font-size: 48px;
}

.mwm-product-details {
    padding: 18px;
}

.mwm-product-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mwm-product-id {
    color: #666;
    font-size: 12px;
    margin-right: 5px;
}

.mwm-stock-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.mwm-in-stock {
    background-color: #d4f3d4;
    color: #2e7d2e;
}

.mwm-out-of-stock {
    background-color: #fdd;
    color: #c33;
}

.mwm-product-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.mwm-product-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.mwm-product-status {
    display: inline-block;
    padding: 4px 10px;
    margin-top: 5px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.mwm-product-active {
    background-color: #4CAF50;
    color: white;
}

.mwm-product-inactive {
    background-color: #f44336;
    color: white;
}

/* Category headers */
.mwm-category-header {
    grid-column: 1 / -1;
    background-color: #f5f8fa;
    padding: 10px 15px;
    margin: 15px 0 10px 0;
    border-radius: 8px;
    border-right: 4px solid #4CAF50;
}

.mwm-category-header h3 {
    margin: 0 !important;
    color: #333 !important;
    font-size: 18px !important;
}

/* Request buttons - isolated */
.mwm-closure-request-btn,
.mwm-dates-request-btn,
.mwm-open-request-btn,
.mwm-update-btn,
.mwm-daily-reset-btn,
.mwm-duration-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
    text-align: center;
}

.mwm-dates-request-btn {
    background-color: #ff9800;
}

.mwm-dates-request-btn:hover {
    background-color: #F57C00;
}

.mwm-update-btn {
    background-color: #4CAF50;
    padding: 8px 15px;
    font-size: 14px;
    margin-right: 10px;
}

.mwm-update-btn:hover {
    background-color: #45a049;
}

.mwm-open-request-btn {
    background-color: #4CAF50;
}

.mwm-open-request-btn:hover {
    background-color: #45a049;
}

.mwm-daily-reset-btn {
    background-color: #2196F3;
}

.mwm-daily-reset-btn:hover {
    background-color: #1976D2;
}

.mwm-daily-reset-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.mwm-closure-request-btn:hover {
    background-color: #d32f2f;
}

/* Duration options */
.mwm-duration-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.mwm-duration-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.mwm-duration-btn:hover {
    background-color: #1976D2;
}

.mwm-duration-permanent {
    background-color: #f44336;
}

.mwm-duration-permanent:hover {
    background-color: #d32f2f;
}

/* Store closed overlay */
#mwm-store-closed-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

#mwm-store-closed-overlay h2 {
    color: white !important;
    margin: 0 0 15px 0 !important;
    font-size: 28px !important;
    font-weight: bold !important;
}

#mwm-store-closed-overlay p {
    color: white !important;
    margin: 0 0 10px 0 !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
}

/* Animations */
.mwm-fade-in {
    animation: mwmFadeIn 0.5s ease-in;
}

.mwm-fade-out {
    animation: mwmFadeOut 0.5s ease-out;
}

@keyframes mwmFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mwmFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Product labels */
.mwm-product-main-label {
    background-color: #f44336;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 8px;
    font-weight: bold;
}

.mwm-product-linked-label {
    background-color: #ff9800;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 8px;
    font-weight: bold;
}

/* Linked and main product styles */
.mwm-linked-product {
    border: 2px solid #ff9800;
}

.mwm-main-product {
    border: 2px solid #f44336;
}

/* Focus states - isolated */
.mwm-manager-container .mwm-time-input:focus,
.mwm-manager-container .mwm-date-picker:focus,
.mwm-manager-container input[type="checkbox"]:focus + .mwm-slider,
.mwm-manager-container .mwm-add-date-btn:focus,
.mwm-popup .mwm-popup-btn:focus,
.mwm-update-btn:focus,
.mwm-duration-btn:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* ============================================== */
/* MOBILE RESPONSIVE STYLES - COMPLETELY ISOLATED */
/* ============================================== */

/* Tablets */
@media screen and (max-width: 768px) {
    .mwm-manager-container {
        padding: 15px;
        font-size: 14px;
    }
    
    .mwm-section {
        padding: 15px;
    }
    
    .mwm-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    /* Plugin-only headings */
    .mwm-section-title,
    .mwm-manager-container h2.mwm-section-title {
        font-size: 18px !important;
    }
    
    .mwm-manager-container h3 {
        font-size: 16px !important;
    }
    
    .mwm-store-status {
        width: 100%;
        justify-content: space-between;
        background-color: #f0f0f0;
        padding: 10px;
        border-radius: 8px;
    }
    
    .mwm-status-text {
        font-size: 16px !important;
    }
    
    /* Business hours mobile layout */
    .mwm-day-row {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 15px;
    }
    
    .mwm-day-name {
        width: 100%;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .mwm-day-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .mwm-day-controls .mwm-switch {
        align-self: flex-start;
        margin-bottom: 10px;
    }
    
    .mwm-time-inputs {
        width: 100%;
        justify-content: space-between;
        gap: 15px;
    }
    
    .mwm-time-input {
        width: calc(50% - 20px);
        padding: 12px;
        font-size: 16px;
    }
    
    .mwm-hours-request-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    /* Products grid */
    .mwm-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    /* Popup adjustments */
    .mwm-popup-content,
    .mwm-hours-popup-content {
        width: 85%;
        padding: 20px;
    }
    
    #mwm-store-closed-overlay h2 {
        font-size: 22px !important;
    }
    
    #mwm-store-closed-overlay p {
        font-size: 16px !important;
    }
    
    /* Buttons */
    .mwm-closure-request-btn,
    .mwm-dates-request-btn,
    .mwm-open-request-btn,
    .mwm-update-btn {
        width: 100%;
        margin-top: 10px;
        padding: 14px 20px;
    }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
    .mwm-manager-container {
        padding: 10px;
    }
    
    .mwm-section {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    /* Plugin-only headings */
    .mwm-section-title,
    .mwm-manager-container h2.mwm-section-title {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
    
    .mwm-manager-container h3,
    .mwm-category-header h3 {
        font-size: 15px !important;
    }
    
    /* Store status */
    .mwm-status-text {
        font-size: 14px !important;
    }
    
    /* Business hours mobile */
    .mwm-business-hours-container {
        padding: 0;
    }
    
    .mwm-day-row {
        padding: 10px;
        border-radius: 8px;
        margin-bottom: 8px;
        background-color: white;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .mwm-current-day {
        border: 1px solid #4CAF50;
    }
    
    .mwm-day-name {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .mwm-today-marker {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .mwm-time-inputs {
        background-color: #f5f5f5;
        padding: 8px;
        border-radius: 6px;
        margin-top: 8px;
    }
    
    .mwm-time-input {
        width: calc(50% - 15px);
        padding: 10px;
        font-size: 14px;
    }
    
    .mwm-time-separator {
        font-size: 14px;
    }
    
    /* Switch adjustment */
    .mwm-switch {
        transform: scale(1.1);
        margin: 8px 0;
    }
    
    /* Buttons */
    .mwm-hours-request-btn {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
    
    /* Products */
    .mwm-products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .mwm-product-card {
        border-radius: 10px;
    }
    
    .mwm-product-image,
    .mwm-no-image,
    .mwm-topping-image {
        height: 100px !important;
    }
    
    .mwm-topping-icon {
        font-size: 32px !important;
    }
    
    .mwm-product-details {
        padding: 10px;
    }
    
    .mwm-product-name {
        font-size: 14px !important;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .mwm-stock-status,
    .mwm-product-status {
        font-size: 11px !important;
        padding: 3px 8px;
    }
    
    .mwm-product-toggle-label {
        font-size: 12px !important;
    }
    
    .mwm-product-card .mwm-switch {
        transform: scale(0.9);
        margin: 5px 0;
    }
    
    /* Popups */
    .mwm-popup-content,
    .mwm-hours-popup-content {
        width: 95%;
        padding: 15px;
        border-radius: 12px;
    }
    
    .mwm-popup h3,
    .mwm-popup-content h3,
    .mwm-hours-popup-content h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .mwm-popup p,
    .mwm-popup-content p,
    .mwm-hours-popup-content p {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }
    
    .mwm-popup textarea,
    .mwm-closure-textarea {
        font-size: 14px;
        padding: 8px;
        min-height: 80px;
    }
    
    .mwm-popup-actions,
    .mwm-popup-buttons,
    .mwm-hours-popup-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .mwm-popup-btn {
        width: 100%;
        padding: 12px !important;
        font-size: 14px !important;
    }
    
    /* Success message */
    #mwm-success-message {
        width: 90%;
        left: 5%;
        transform: none;
        font-size: 13px !important;
        padding: 12px 20px;
    }
    
    /* Category headers */
    .mwm-category-header {
        padding: 8px 12px;
        margin: 10px 0 8px 0;
    }
    
    .mwm-category-header h3 {
        font-size: 14px !important;
    }
    
    /* Date picker and tags */
    .mwm-date-picker {
        font-size: 14px;
        padding: 10px;
    }
    
    .mwm-date-tag {
        font-size: 12px;
        padding: 5px 10px;
        margin: 2px;
    }
    
    .mwm-date-tag-remove {
        font-size: 14px;
    }
    
    /* Closed message */
    .mwm-closed-message {
        font-size: 14px !important;
        padding: 12px 10px !important;
        margin-bottom: 15px !important;
        line-height: 1.4 !important;
    }
    
    /* Text in sections */
    .mwm-section p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }
    
    /* All buttons */
    .mwm-add-date-btn,
    .mwm-hours-request-btn,
    .mwm-daily-reset-btn,
    .mwm-closure-request-btn,
    .mwm-dates-request-btn,
    .mwm-open-request-btn,
    .mwm-update-btn {
        width: 100%;
        font-size: 14px !important;
        padding: 12px !important;
        margin-top: 8px;
    }
    
    /* Duration buttons */
    .mwm-duration-btn {
        font-size: 13px !important;
        padding: 10px !important;
    }
    
    /* Store overlay */
    #mwm-store-closed-overlay h2 {
        font-size: 18px !important;
    }
    
    #mwm-store-closed-overlay p {
        font-size: 13px !important;
    }
}

/* Small phones */
@media screen and (max-width: 360px) {
    .mwm-time-input {
        font-size: 13px !important;
        padding: 10px 6px !important;
    }
    
    .mwm-day-name {
        font-size: 13px !important;
    }
    
    .mwm-section-title,
    .mwm-manager-container h2.mwm-section-title {
        font-size: 15px !important;
    }
    
    .mwm-manager-container h3 {
        font-size: 14px !important;
    }
    
    .mwm-popup-content,
    .mwm-hours-popup-content {
        padding: 12px;
    }
    
    .mwm-popup h3,
    .mwm-popup-content h3,
    .mwm-hours-popup-content h3 {
        font-size: 15px !important;
    }
    
    .mwm-popup p,
    .mwm-popup-content p,
    .mwm-hours-popup-content p {
        font-size: 12px !important;
    }
    
    .mwm-popup-btn {
        font-size: 13px !important;
        padding: 10px !important;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    /* Touch-specific adjustments */
    .mwm-manager-container {
        font-size: 14px !important;
    }
    
    .mwm-manager-container * {
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .mwm-switch {
        width: 65px;
        height: 36px;
    }
    
    .mwm-slider:before {
        height: 28px;
        width: 28px;
    }
    
    .mwm-switch input:checked + .mwm-slider:before {
        transform: translateX(28px);
    }
    
    /* Button heights for touch */
    .mwm-popup-btn,
    .mwm-hours-request-btn,
    .mwm-add-date-btn,
    .mwm-update-btn,
    .mwm-closure-request-btn,
    .mwm-dates-request-btn,
    .mwm-open-request-btn,
    .mwm-daily-reset-btn,
    .mwm-duration-btn {
        min-height: 44px;
    }
    
    .mwm-day-row {
        padding: 12px 10px;
    }
    
    .mwm-date-tag-remove {
        padding: 6px;
        margin-right: 4px;
    }
}

/* ============================================== */
/* END OF STYLES                                  */
/* ============================================== */

/**
 * USAGE NOTES:
 * 
 * 1. ALL styles are now completely isolated to plugin elements only
 * 2. No global selectors (h1, h2, button, etc.) without plugin prefix
 * 3. All animations use unique names (mwmFadeIn instead of fadeIn)
 * 4. Every style rule uses specific plugin classes
 * 
 * This ensures ZERO conflicts with the website's existing CSS
 */