:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card {
    background: var(--card-bg);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Custom Color Input Styling */
.form-control-color {
    height: 150px;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    background-color: white;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.form-control-color::-webkit-color-swatch {
    border-radius: 0.8rem;
    border: none;
}

.form-control-color::-moz-color-swatch {
    border-radius: 0.8rem;
    border: none;
}

/* Mixer Inputs */
#mixColor1, #mixColor2 {
    height: 80px;
}

.result-preview {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e2e8f0; /* Default placeholder */
    transition: background-color 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.btn-outline-primary {
    color: #6366f1;
    border-color: #6366f1;
}

.btn-outline-primary:hover {
    background-color: #6366f1;
    color: white;
}
