@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;700&display=swap');

/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 20%;
    padding: 10px;
    background: #f7f7f7;
    border-right: 1px solid #ccc;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.puzzle-piece {
    padding: 10px;
    text-align: center;
    cursor: grab;
    font-weight: bold;
    border: 2px solid transparent;
    border-radius: 5px;
    color: white;
}

.puzzle-piece.red {
    background: #ff4d4d;
}

.puzzle-piece.green {
    background: #4caf50;
}

.puzzle-piece.blue {
    background: #2196f3;
}

.puzzle-piece:active {
    cursor: grabbing;
}

/* Puzzle Board */
.main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    padding: 20px;
}

.puzzle-board {
    display: flex;
    gap: 20px;
}

.puzzle-slot {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #bbb;
    border-radius: 10px;
    color: #555;
    font-weight: bold;
}

/* Right Panel */
.right-panel {
    width: 40%;
    padding: 20px;
    background: #f9f9f9;
    text-align: center;
    border-left: 1px solid #ccc;
}

.generate-btn {
    padding: 10px 20px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.response {
    margin-top: 20px;
    padding: 10px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-height: 50px;
}
