body {
    font-family: Segoe UI;
    text-align: center;
    background: #e8e8e8;
}

.gradient-box {
    width: 80%;
    max-width: 600px;
    height: 200px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, red, blue);
    position: relative;
}

.css-code {
    margin-top: 20px;
    padding: 10px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: monospace;
    display: inline-block;
}

.controls {
    margin-top: 20px;
}

.gradient-bar {
    width: 80%;
    max-width: 600px;
    height: 30px;
    margin: 20px auto;
    position: relative;
    border-radius: 5px;
    background: linear-gradient(90deg, red, blue);
}

.color-stop {
    width: 12px;
    height: 40px;
    background: black;
    position: absolute;
    cursor: pointer;
    border: 2px solid #fff;
    box-sizing: border-box;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.delete-button {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: darkgrey;
    color: white;
    border: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.color-stop:hover .delete-button {
    opacity: 1;
}

.delete-button:hover {
    background-color: rgb(60, 60, 60);
}

.clock {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color:white;
    position: relative;
    margin: 20px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.clock-tick {
    position: absolute;
    width: 2px;
    height: 50px;
    background: darkgrey;
    top: 0%;
    left: 50%;
    transform-origin: bottom;
}

.color-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.color-display {
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 4px;
    height: 40px;
    width: 60px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.color-display::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-display::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

.color-display::-moz-color-swatch {
    border: none;
    border-radius: 4px;
}

.confirm-button {
    padding: 8px 16px;
    background-color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: Segoe UI;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.confirm-button:hover {
    background-color: rgb(60, 60, 60);
    color: white;
}
