/* ============================================
   1. CONTAINER & LAYOUT
   ============================================ */

body {
    overflow-y: scroll;
    height: 100vh;
}
.container {
    width: 100%;
    max-width: 60%;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 30px #00000024;
    box-sizing: border-box;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   2. TYPOGRAFIE
   ============================================ */

label {
    display: inline-block;
    width: 100%;
    margin-bottom: 3px;
    font-weight: bold;
    text-align: left;
}

/* ============================================
   3. UTILITY ELEMENTEN
   ============================================ */

.line {
    margin: 10px 0 20px 0;
    border-top: 2px solid #E30E28;
}

/* ============================================
   4. INPUT VELDEN
   ============================================ */

.input {
    width: 100%;
    height: 40px;
    padding: 10px;
    background-color: #fff;
    font-size: 16px;
    text-align: left;
    border: 2px solid #E30E28;
    border-radius: 8px;
    box-shadow: 0 4px 30px #00000024;
    box-sizing: border-box;
    outline: none;
}

.input:focus {
    border-color: darkred;
}

.inputColor {
    width: 100%;
    height: 40px;
    background-color: #fff;
    border: 2px solid #E30E28;
    border-radius: 8px;
}

/* ============================================
   5. KLEURSELECTOR SECTIE
   ============================================ */

.color-picker {
    padding: 10px;
    background-color: #F1F5F9;
    border-bottom: 2px solid #E30E28;
    border-radius: 12px;
}

.color-picker-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.color-select,
.chosen-colors {
    flex: 1;
    min-width: 250px;
}

.color-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* Color List Display */
#colorList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 50px;
    max-height: 100px;
    padding: 10px;
    background-color: #F1F5F9;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow-y: auto;
}

.chosen-colors #colorList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow-y: auto;
}

/* Color Wrapper */
.color-wrapper {
    display: inline-block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.color-wrapper input[type="color"] {
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Remove Button */
.remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    padding: 0;
    background: white;
    color: #000;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.remove-btn:hover {
    background: #ff4d4d;
    color: white;
    border-color: darkred;
}

/* ============================================
   6. button
   ============================================ */

.addColorButton {
    padding: 10px 15px;
    background-color: #E30E28;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 30px #00000024;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.button,
button {
    width: 100%;
    padding: 15px 40px;
    background: #E30E28;
    color: #fff;
    font-size: clamp(0.1rem, 2.5vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 30px #0000004b;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.back-button {
    background: gray;
}

/* Button Hover & Active States */
#addColor:hover,
.button:hover,
button:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.25);
}

#addColor:active,
.button:active,
button:active {
    transform: translateY(1px);
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
}