/* css/mobile.css - Mobile responsive styles */

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2.5em;
    }

    .main-layout {
        flex-direction: column;
    }

    .left-panel, .center-panel, .right-panel {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }

    .tool-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-button {
        padding: 15px 10px;
        font-size: 0.9em;
    }

    button {
        padding: 15px 24px;
        font-size: 1em;
    }

    .zoom-button {
        width: 45px;
        height: 45px;
    }

    .zoom-controls {
        width: 100%;
        box-sizing: border-box;
    }

    /* Mobile canvas container settings */
    .canvas-container {
        width: 100%;
        padding: 10px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 10px;
        background: white;
        overflow: hidden;
    }
    
    .canvas-wrapper {
        max-height: 60vh;
        border-radius: 5px;
        background: #f5f5f5;
        padding: 0;
        margin: 0;
    }
    
    .canvas-inner {
        margin: 0;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 100%;
    }

    canvas {
        border: 2px solid #eee;
        border-radius: 5px;
    }
    
    .layer-controls {
        flex-wrap: wrap;
    }
    
    .layer-opacity {
        width: 100%;
        margin-top: 5px;
    }

    input[type="range"]::-webkit-slider-thumb {
        width: 25px;
        height: 25px;
    }

    .help-button {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}