:root {
    --primary-color: #6f42c1;
    --secondary-color: #6610f2;
}

body {
    /*background: linear-gradient(135deg, #f8f9fa, #e9ecef);*/
    min-height: 100vh;
    padding-bottom: 30px;
}

.navbar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.color-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.color-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.color-display {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.color-display:hover {
    transform: scale(1.03);
}

.color-info {
    padding: 15px;
    background-color: white;
}

.color-value {
    cursor: pointer;
    transition: all 0.2s;
    padding: 3px 8px;
    border-radius: 4px;
}

.color-value:hover {
    background-color: #f8f9fa;
}

.palette-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    padding: 25px;
    margin-top: 30px;
}

.color-picker-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    padding: 25px;
    /*margin-top: 30px;*/
}

.color-controls {
    margin-top: 20px;
}

.color-preview {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.color-preview:hover {
    transform: scale(1.05);
}

.action-btn {
    transition: all 0.2s ease;
}

.action-btn:hover {
    transform: scale(1.05);
}

.empty-palette {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
}

.footer {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.color-name-input {
    max-width: 200px;
}