
    :root {
        --primary: #4361ee;
        --primary-light: #f0f2ff;
        --text: #2b2d42;
        --light: #f8f9fa;
        --border: #e9ecef;
        --danger: #e63946;
        --success: #4bb543;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        --radius: 8px;
        --transition: all 0.2s ease;
    }

    body {
        font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        background-color: #f5f7fa;
        color: var(--text);
        line-height: 1.6;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
    }

    /* Success Message */
    .alert-success {
        background-color: rgba(75, 181, 67, 0.2);
        color: var(--success);
        padding: 1rem;
        border-radius: var(--radius);
        margin-bottom: 2rem;
        text-align: center;
        border-left: 4px solid var(--success);
    }

    /* Video Section */
    .video-container {
        background: white;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .video-player {
        width: 100%;
        height: auto;
        max-height: 600px;
        display: block;
    }

    .video-title {
        font-size: 2rem;
        margin: 0 0 1rem;
        color: var(--primary);
        padding: 0 1rem;
    }

    /* Video Details */
    .video-details {
        background: white;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .price {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary);
        margin: 0 0 1rem;
    }

    .shop-info {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .shop-name {
        font-size: 1.2rem;
        font-weight: 500;
    }

    .video-description {
        margin: 1.5rem 0;
        line-height: 1.7;
    }

    .video-meta {
        color: #6c757d;
        font-size: 0.9rem;
    }

    /* Action Buttons */
    .action-buttons {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
        flex-wrap: wrap;
    }

    .action-button {
        padding: 0.75rem 1.5rem;
        border-radius: var(--radius);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .delete-button {
        background-color: var(--danger);
        color: white;
    }

    .edit-button {
        background-color: var(--primary);
        color: white;
    }

    .contact-button {
        background-color: var(--primary);
        color: white;
    }

    .action-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    /* Image Upload Form */
    .image-upload {
        background: white;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .image-upload h3 {
        margin-top: 0;
        margin-bottom: 1.5rem;
        color: var(--primary);
    }

    /* Image Gallery */
    .image-gallery {
        background: white;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 2rem;
    }

    .gallery-title {
        margin-top: 0;
        margin-bottom: 1.5rem;
        color: var(--primary);
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .thumbnail {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: var(--radius);
        cursor: pointer;
        transition: var(--transition);
    }

    .thumbnail:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .empty-gallery {
        text-align: center;
        padding: 2rem;
        color: #6c757d;
    }

    /* Modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        justify-content: center;
        align-items: center;
    }

    .modal-image {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }

    .close {
        position: absolute;
        top: 20px;
        right: 30px;
        color: white;
        font-size: 2rem;
        font-weight: bold;
        cursor: pointer;
    }

    .modal-button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: white;
        background: rgba(0, 0, 0, 0.5);
        border: none;
        padding: 1rem;
        font-size: 1.5rem;
        cursor: pointer;
        border-radius: 50%;
    }

    #prev-image {
        left: 30px;
    }

    #next-image {
        right: 30px;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .video-title {
            font-size: 1.5rem;
        }
        
        .price {
            font-size: 1.5rem;
        }
        
        .action-buttons {
            flex-direction: column;
        }
        
        .action-button {
            width: 100%;
            justify-content: center;
        }
        
        .gallery-grid {
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        }
    }

    @media (max-width: 480px) {
        .container {
            padding: 1rem;
        }
        
        .video-details, .image-upload, .image-gallery {
            padding: 1.5rem;
        }
        
        .thumbnail {
            height: 120px;
        }
    }

    :root {
        --primary: #4361ee;
        --primary-light: #f0f2ff;
        --text: #2b2d42;
        --light: #f8f9fa;
        --border: #e9ecef;
        --danger: #e63946;
        --success: #4bb543;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        --radius: 8px;
        --transition: all 0.2s ease;
    }
    
    /* Force full width on mobile */
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    body {
        font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        background-color: #f5f7fa;
        color: var(--text);
        line-height: 1.6;
    }
    
    /* Main container - edge-to-edge on mobile */
    .container {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 2rem 1rem;
    }
    
    /* Success Message - full width */
    .alert-success {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    /* Video Section - full width */
    .video-container {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    /* Video Details - full width */
    .video-details {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    /* Image Upload Form - full width */
    .image-upload {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    /* Image Gallery - full width */
    .image-gallery {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    /* Desktop styles - revert to centered layout */
    @media (min-width: 768px) {
        .container,
        .alert-success,
        .video-container,
        .video-details,
        .image-upload,
        .image-gallery {
            width: auto;
            margin-left: auto;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
    }
    
    /* All your existing styles below remain exactly the same */
    /* ... rest of your CSS ... */