.csp-color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    max-width: 600px;
    margin-bottom: 18px;
    margin-top: 8px;
    justify-content: flex-start;
}

.csp-color-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    border: 1.5px solid #cbd5e0;
    border-radius: 8px;
    padding: 6px 12px;
    background: #f9fbff;
    cursor: default;
    user-select: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.csp-color-item:hover {
    border-color: #3177ce;
}

.csp-color-item span {
    font-weight: 600;
    font-size: 1.05em;
    color: #244d92;
    flex-grow: 1;
}

.csp-color-item select {
    width: 65px;
    border-radius: 5px;
    border: 1px solid #888;
    font-size: 1.05em;
    padding: 4px 6px;
    cursor: pointer;
}

.csp-input {
    font-weight: 500;
    transition: border-color 0.3s ease;
}

.csp-input:focus {
    border-color: #3177ce;
    outline: none;
}

.csp-label {
    font-weight: 700;
    color: #33475b;
}

/* Mensagens de erro */
.csp-errors ul li {
    margin: 5px 0;
    font-size: 0.95em;
}

.csp-color-palette.csp-palette-3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 18px;
    max-width: 600px;
    margin-bottom: 16px;
    margin-top: 8px;
}

.csp-color-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #cbd5e0;
    border-radius: 8px;
    padding: 7px 12px;
    background: #f9fbff;
    min-width: 0;
}

.csp-color-item span:last-child {
    font-weight: 600;
    font-size: 1em;
    color: #244d92;
    flex-grow: 1;
}

.csp-color-item select {
    width: 60px;
    border-radius: 5px;
    border: 1px solid #888;
    font-size: 1em;
    padding: 3.5px 4px;
}

.csp-color-palette.csp-palette-3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 16px;
    max-width: 630px;
    margin-bottom: 16px;
    margin-top: 8px;
}

.csp-color-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #cbd5e0;
    border-radius: 8px;
    padding: 7px 12px;
    background: #f9fbff;
    min-width: 0;
}

.csp-color-item span:last-child {
    font-weight: 600;
    font-size: 1em;
    color: #244d92;
    flex-grow: 1;
}

.csp-color-item select {
    width: 65px;
    border-radius: 5px;
    border: 1px solid #888;
    font-size: 1em;
    padding: 3.5px 5px;
}

input[type="text"] {
    font-weight: 500;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    border-color: #3177ce;
    outline: none;
}

label {
    font-weight: 700;
    color: #33475b;
    display: block;
    margin-bottom: 4px;
}

.csp-errors ul li {
    margin: 5px 0;
    font-size: 0.95em;
}
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
}

#csp-color-selection-form {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
}
