* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h1 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #444;
}

h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #555;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.colors-container {
    margin-bottom: 30px;
}

.color-category {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
}

.color-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Styling für die hellen Farben */
.light-colors {
    background-color: #f9f9f9;
    border-left: 4px solid #64b5f6;
}

/* Styling für die dunklen Farben */
.dark-colors {
    background-color: #f8f8f8;
    border-left: 4px solid #444;
}

.color-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.color-option:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.color-box {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    margin: 0 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.color-name {
    font-size: 18px;
    color: #333;
}

.athletic-heather {
    background-color: #c8c9c7;
}

.black {
    background-color: #000000;
}

.brown {
    background-color: #8b4513;
}

.maroon {
    background-color: #800000;
}

.orange {
    background-color: #ff7700;
}

.pink {
    background-color: #ffc0cb;
}

.royal-blue {
    background-color: #4169e1;
}

.soft-cream {
    background-color: #f8f0e3;
}

.white {
    background-color: #ffffff;
}

.result {
    margin-top: 30px;
    padding: 20px;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.profile-match {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    background-color: #dff5e3;
    border-left: 5px solid #4CAF50;
}

.profile-match h3 {
    margin-bottom: 10px;
    color: #2e7d32;
    font-size: 18px;
    border-bottom: none;
    padding-bottom: 0;
}

/* Styling für den Farbzähler */
.color-counter {
    width: 100%;
    padding: 12px 20px;
    background-color: #f0f8ff;
    border-radius: 6px;
    border-left: 4px solid #2196F3;
    font-size: 16px;
    margin: 20px 0;
    text-align: right;
}

.counter-text {
    font-weight: 500;
    color: #444;
}

.counter-number {
    font-size: 20px;
    font-weight: bold;
    color: #2196F3;
}

.counter-total {
    font-size: 18px;
    color: #666;
}

/* Hervorhebung für Zähler, der einem Profil entspricht */
.counter-match {
    color: #4CAF50;
}

/* Styling für den Reset-Button */
.button-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.reset-button {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.reset-button:hover {
    background-color: #d32f2f;
}

/* Styling für den Copy-Button */
.copy-button {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    margin-left: 10px;
}

.copy-button:hover:not(:disabled) {
    background-color: #0b7dda;
}

.copy-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Tooltip für Kopier-Feedback */
.copy-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
    pointer-events: none;
    animation: fadeOut 1.5s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.profile-select {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    margin-right: 10px;
    min-width: 200px;
    cursor: pointer;
}

.profile-select:focus {
    outline: none;
    border-color: #2196F3;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.category-header h3 {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.toggle-btn {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #90caf9;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    background-color: #e3f2fd;
}

.toggle-btn:hover {
    background-color: #bbdefb;
}

.toggle-btn.active {
    background-color: #2196F3;
    color: white;
}

/* Styling für die technischen Werte */
.tech-values-box {
    margin-top: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border-left: 4px solid #2196F3;
}

.tech-values {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-values code {
    flex-grow: 1;
    padding: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    font-family: monospace;
}

.copy-tech-values {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.copy-tech-values:hover {
    background-color: #0b7dda;
}