/* General Page Styles */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
}

/* Main Container */
.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: auto;
}

/* Title */
h1 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Color Picker */
.color-picker {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.color-picker input {
    width: 50px;
    height: 40px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

/* Buttons */
button {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background-color: #e64a19;
}

.generate-btn, .download-btn {
    display: block;
    width: 100%;
}

.download-btn {
    background-color: #007bff;
}

.download-btn:hover {
    background-color: #0056b3;
}

/* Color Palette */
#paletteContainer {
    margin: 15px 0;
}

.palette {
    display: flex;
    width: 100%;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
}

/* Each color inside the merged rectangle */
.color-segment {
    flex: 1;
    cursor: pointer;
}

/* HEX Code Below Palette */
.hex-codes {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}