/* Import font untuk tampilan yang lebih baik */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 100%;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1a237e;
}

#canvas {
    border: 2px dashed #cccccc;
    border-radius: 8px;
    cursor: grab;
    max-width: 100%;
    height: auto;
}

#canvas:active {
    cursor: grabbing;
}

.controls {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.button, button {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 220px;
}

label.button {
    background-color: #3949ab;
    color: white;
}

label.button:hover {
    background-color: #283593;
}

#downloadBtn {
    background-color: #43a047;
    color: white;
}

#downloadBtn:hover {
    background-color: #2e7d32;
}

#downloadBtn:disabled {
    background-color: #bdbdbd;
    cursor: not-allowed;
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zoom-controls button {
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 24px;
    background-color: #e0e0e0;
    color: #333;
}

.zoom-controls button:hover {
    background-color: #c7c7c7;
}

.zoom-controls span {
    font-weight: 600;
}
/* Tambahkan di akhir file style.css */
#shareBtn {
    background-color: #1976d2; /* Warna biru untuk 'share' */
    color: white;
}

#shareBtn:hover {
    background-color: #1565c0;
}

#shareBtn:disabled {
    background-color: #bdbdbd;
    cursor: not-allowed;
}
