@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.3.0/css/all.min.css");

:root {
    --accent: rgb(255, 140, 159);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(20, 20, 20);
    background-image:
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" result="noise"/></filter><rect width="100" height="100" fill="rgb(20,20,20)" filter="url(%23noise)"/></svg>');
    background-blend-mode: overlay;
    background-size: auto;
    color: white;
    font-family: Helvetica, sans-serif;
    padding: 1rem;
    margin-top: 50px;
    box-sizing: border-box;
    margin-bottom: 5rem;
}

.accented {
    color: var(--accent);
}

.fixed-top-nav {
    position: fixed;
    top: auto;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 90%);
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: rgba(14, 14, 14, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 99999;
    will-change: transform;
    box-sizing: border-box;
}

.nav-list {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list a,
.login-link {
    color: rgb(185, 181, 183);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-list a:hover,
.login-link:hover {
    color: var(--accent);
    transform: scale(1.05);
}

.login-link {
    color: var(--accent);
    font-weight: bold;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
}

.user-zodiac {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(10, 10, 10, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid var(--accent);
    font-weight: bold;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
}

.user-zodiac i {
    font-size: 0.85rem;
    flex-shrink: 0;
    display: inline-block;
}

.user-zodiac .zodiac-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
}

.user-zodiac:hover .zodiac-text {
    max-width: 100px;
    opacity: 1;
    display: flex;
    align-items: center;
}

.user-pfp-container img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-primary {
    background-color: var(--accent);
    font-weight: bold;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.discreet {
    color: rgb(185, 181, 183);
    font-weight: bold;
    text-decoration: none;
}

.discreet-2 {
    color: rgb(97, 93, 96);
    font-weight: bold;
    text-decoration: none;
}

.left-align {
    text-align: left;
    width: 100%;
    max-width: 800px;
}

a {
    color: inherit;
    text-decoration: inherit;
}

li {
    list-style-type: none;
    margin: 10px 0;
    color: var(--accent);
    font-weight: bold;
    text-decoration: none;
}

@keyframes wave {
    0%,
    100% {
        transform: translateY(5px);
    }
    50% {
        transform: translateY(-5px);
    }
}

a:not(.icon) {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.wave-link {
    white-space: pre;
}

.wave-link .letter {
    display: inline-block;
    white-space: pre;
    pointer-events: none;
}

.wave-link:hover .letter {
    animation: wave 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.greeting {
    display: inline-block;
    color: var(--accent);
    font-weight: bold;
}

#greeting-article {
    color: inherit;
    font-weight: bold;
}

.greeting .letter {
    display: inline-block;
    animation: wave 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}

.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.icon:hover {
    transform: translateY(-2px);
    transform: scale(1.5);
}

.icon.inst {
    color: var(--accent);
    -webkit-mask-image: url("assets/instagram.svg");
    mask-image: url("assets/instagram.svg");
}

.icon.snap {
    color: var(--accent);
    -webkit-mask-image: url("assets/snapchat.svg");
    mask-image: url("assets/snapchat.svg");
}

.icon.you {
    color: var(--accent);
    -webkit-mask-image: url("assets/youtube.svg");
    mask-image: url("assets/youtube.svg");
}

.icon.linkedin {
    color: var(--accent);
    -webkit-mask-image: url("assets/linkedin.svg");
    mask-image: url("assets/linkedin.svg");
}

.icon.discord {
    color: var(--accent);
    -webkit-mask-image: url("assets/discord.svg");
    mask-image: url("assets/discord.svg");
}

.social-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

h1 {
    margin-bottom: -5px;
}

.intro {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 10px;
}

.cards,
.hero-cards {
    display: flex;
    flex-direction: column;
    width: min(100%, 42rem);
    justify-content: center;
    gap: 12px;
    align-items: center;
    padding: 0 1rem;
}

.cards>div,
.hero-cards>div {
    width: 100%;
    max-width: 100%;
}

img {
    margin-top: 10px;
    display: block;
    border-radius: 100%;
}

.bio {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    font-weight: bold;
    color: rgb(185, 181, 183);
}

.bio h1 {
    color: white;
    margin-bottom: -5px;
}

.isPink {
    color: var(--accent);
}

.title-cards {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.colors {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.color-button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--accent);
}

.color-button:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.9);
}

.color-button.active {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 1);
}

.button-pink {
    background-color: rgb(255, 140, 159);
}

.button-green {
    background-color: rgb(76, 217, 123);
}

.button-yellow {
    background-color: rgb(255, 218, 106);
}

.button-blue {
    background-color: rgb(106, 172, 255);
}

.week-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.week-dropdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 12rem;
}

.page-select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(20, 20, 20, 0.95);
    color: white;
    font-weight: bold;
}

.week-details {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 1rem;
}

.login-container {
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 1rem;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.login-container input {
    padding: 10px;
    border-radius: 30px;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 75%;
}

.login-container a {
    color: var(--accent);
    text-decoration: underline;
}

.login-container a:hover {
    transform: scale(1.1);
    transition: all;
    transition-duration: 400ms;
}

.login-container button {
    background-color: var(--accent);
    font-weight: bold;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.2s ease;
}

.login-container button:hover {
    transform: scale(1.05);
    transition: all;
    transition-duration: 400ms;
}

.square-container {
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    justify-content: center;
    align-items: center;
    width: 80%;
    aspect-ratio: 1 / 1;
}

.square-red {
    background: rgb(224, 106, 106);
}

.square-green {
    background: rgb(128, 224, 106);
}

.square-blue {
    background: rgb(106, 163, 224);
}

.week-details summary {
    list-style: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent);
    outline: none;
}

.week-details summary::-webkit-details-marker {
    display: none;
}

.week-details summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 0.6rem;
    transition: transform 0.2s ease;
}

.week-details[open] summary::before {
    transform: rotate(90deg);
}

.week-content {
    margin-top: 1rem;
}

.week-content ul {
    margin: 0;
    padding: 0 0 0 1.2rem;
}

.week-content li {
    margin: 0.6rem 0;
}

/* Medium only */
@media (min-width: 900px) {
    .cards,
    .hero-cards {
        flex-direction: row;
        flex-wrap: wrap;
        width: min(100%, 62rem);
        justify-content: center;
        gap: 24px;
        align-items: flex-start;
    }

    .cards>div,
    .hero-cards>div {
        flex: 1 1 16rem;
        min-width: 16rem;
        max-width: 100%;
    }
}

@media (max-width: 899px) {
    .isHiddenOnSmallScreen {
        display: none;
    }
}

@keyframes battlePop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.battle-pop {
    animation: battlePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes fadeInSmooth {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#game-wrapper {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#game-menu,
#game-challenge,
#game-controls {
    animation: fadeInSmooth 0.2s ease-in-out;
}

#game-challenge {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.battle-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
}

.battle-label {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vs-text {
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.container {
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: row;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.leaderboard-container {
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    margin-top: 15px;
    gap: 10px;
    width: 100%;
}

.leaderboard-container h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 1.1rem;
}

#leaderboard-list {
    margin: 0;
    padding: 0;
}

.game-state-hidden {
    display: none !important;
}

.game-state-active {
    display: flex !important;
}

#leaderboard-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 0.5rem;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: white;
}

#leaderboard-list li i {
    color: var(--accent);
    margin-right: 4px;
}

.streak-hud {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 10px;
    gap: 10px;
}

.hud-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 12px;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    color: rgb(185, 181, 183);
    width: 100%;
}

.hud-box span {
    color: var(--accent);
}

.mouse-popup {
    position: fixed;
    z-index: 1000;
    width: 220px;
    padding: 0.75rem 1rem;
    background: rgba(14, 14, 14, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.mouse-popup.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.mouse-popup h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    color: var(--accent);
}

.mouse-popup p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.4;
}

/* ========================================================
   Paint App Styles (Clean Component Separation & Styled Color Wheel)
   ======================================================== */

.paint-container, 
.paint-app-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 650px;
    margin-bottom: 2rem;
    box-sizing: border-box;
    align-items: center;
}

.paint-container h1, 
.paint-app-wrapper h1,
.title-container h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
}

.tools-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-sizing: border-box;
}

.tools-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-btn, .tool-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.85rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.tool-btn {
    border-radius: 0.75rem;
}

.color-btn:hover, .tool-btn:hover,
.color-btn.selected, .tool-btn.selected {
    transform: scale(1.15);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
}

/* Color Wheel / Color Picker Styling */
input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    width: 34px;
    height: 34px;
    cursor: pointer;
    padding: 0;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

input[type="color"]::-webkit-color-swatch:hover {
    transform: scale(1.15);
    border-color: var(--accent);
}

input[type="color"]::-moz-focus-inner {
    border: none;
    padding: 0;
}

#brushSize, select {
    background: rgba(20, 20, 20, 0.95);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 12px;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: bold;
    outline: none;
}

.canvas-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

canvas {
    display: block;
    cursor: crosshair;
    width: 100%;
    height: auto;
}

.save-section {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 450px;
    justify-content: center;
    align-items: center;
}

.save-section input[type="text"] {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    padding: 10px 14px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    flex-grow: 1;
    outline: none;
}

.save-section input[type="text"]:focus {
    border-color: var(--accent);
}

.save-section button, 
.paint-container button {
    background-color: var(--accent);
    font-weight: bold;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.2s ease;
}

.save-section button:hover, 
.paint-container button:hover {
    transform: scale(1.05);
}

.community-gallery {
    margin-top: 2rem;
    width: 100%;
}

.community-gallery h2 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.artwork-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.artwork-card h3 {
    margin: 0;
    font-size: 1rem;
    color: white;
}

.artwork-card p {
    margin: 0;
    font-size: 0.85rem;
    color: rgb(185, 181, 183);
}

.image-preview-container {
    background: rgba(14, 14, 14, 0.5);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-container img {
    margin-top: 0;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    object-fit: contain;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.stat-badge-group {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    color: rgb(185, 181, 183);
}

.stat-badge-group strong {
    color: var(--accent);
}

.action-btn-group {
    display: flex;
    gap: 6px;
}

.btn-action {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 10px;
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
}

.color-palette-modal {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background: #222;
    border: 1px solid #440;
    padding: 15px;
    border-radius: 10px;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    width: 220px;
}

.color-palette-modal.active {
    display: block;
}

.color-palette-modal .palette-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.color-palette-modal .palette-header span {
    font-size: 0.9rem !important;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.color-palette-modal .palette-header button {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.8rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgb(185, 181, 183) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.color-palette-modal .palette-header button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white;
    border-color: var(--accent);
    transform: scale(1.05);
}

.color-palette-modal #picker {
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin: 0 auto 12px auto !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.color-palette-modal #colorPreviewBox {
    width: 100% !important;
    height: 28px !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin-bottom: 12px !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

/* Flex layout wrapper for sliders container */
.color-palette-modal > div:nth-of-type(2) {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.color-palette-modal label {
    font-size: 0.8rem !important;
    font-weight: bold;
    color: rgb(185, 181, 183);
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.color-palette-modal label span {
    color: var(--accent);
}

.color-palette-modal input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100% !important;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    outline: none;
    margin-top: 2px;
    margin-bottom: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box !important;
}

.color-palette-modal input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    transition: transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.color-palette-modal input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.color-palette-modal input[type="text"]#hexInput {
    background: rgba(20, 20, 20, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: white !important;
    width: 100% !important;
    height: 34px !important;
    border-radius: 0.75rem !important;
    font-size: 0.9rem !important;
    font-weight: bold;
    text-align: center;
    margin-top: 10px !important;
    outline: none;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease;
    flex-shrink: 0 !important;
}

.color-palette-modal input[type="text"]#hexInput:focus {
    border-color: var(--accent) !important;
}
