/* Общие стили для страницы результатов */
#luscher-result {
    margin: 0 auto;
    padding: 50px 20px 20px;
    text-align: center;
}

/* Стили для заголовков и текстовых блоков */
h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #444;
	text-align:justify;
}

a.backward{color: #7c7c80; font-size:14px;}
a.backward:hover{text-decoration:underline;}

/* Стили для ахроматических цветов */
#achromatic-colors {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.color-label {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 5px;
    color: #555;
}

/* Корректное отображение текстового описания */
.interpretation-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Стили для каждого элемента (квадрат + символ) */
.color-item {
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Стили для квадратов с цветами */
.color-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease-in-out;
	text-align:center;
}

/* Стили для символов "+" и "-" */
.color-label {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 5px;
    color: #555;
}

/* Стили для таблицы 8x4 */
table#fullcolors{
	width:500px!important; border: 2px solid #ccc; border-collapse:collapse;
}
table#fullcolors td{
	text-align: center;
	padding: 5px 0px!important;
	border: 2px solid #ccc;
	border-collapse:collapse;}
.znak{text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-top: 5px;
  color: #555;}
.color-cell{
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease-in-out;

}

/* Дополнительные стили для выделения */
.highlight {
    background-color: yellow !important;
}

/* Стили для списка интерпретации цветов */
.interpretation-list {
    list-style-type: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.interpretation-list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
}

.interpretation-list li strong {
    color: #2c3e50;
}

/* Стили для раздела "Дополнительная информация" */
.additional-info {
    margin-top: 40px;
    background-color: #ffffff;
    padding: 20px;
    border-left: 4px solid #3498db;
    border-radius: 8px;
}

.additional-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.additional-info p {
    margin-bottom: 5px;
}

/* Стили для деталей (показать/скрыть данные теста) */
details {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

summary {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: #34495e;
}

pre {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    color: #333;
    font-size: 14px;
}

/* Стили для ошибок */
.error {
    color: red;
    font-weight: bold;
    margin-top: 20px;
}

/*Текстовая заметка в конце*/
.emotional-note-section {
    padding: 0px 15px 10px;
    border-top: 1px solid #eee;
	background: #fff;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.note-display {
    display: flex;
    align-items: center;
}

.note-text {
    font-style: italic;
    color: #555;
}

.edit-icon:hover {
    color: #0073aa;
}
/*Цветовые интерпретации*/
.symbols{
	float:left; width: 50px; font-weight:bold; line-height: 1.5em;
}
.symbol-text{
	float:left; width: calc(100% - 100px); line-height: 1.5em;
}
@media (max-width: 1000px) {
	.symbols{float:none;}
	.symbol-text{float:none; width:100%;}
	p{font-size: 14px; line-height: 16px;}
	#luscher-result{padding: 20px 0px 0px;}
}


h2, h3, h4{padding-top: 30px!important; margin-top:0px!important;}
h4{padding-top: 10px!important; padding-top: 0px!important;margin-top:10px!important;}
h4,p{margin-bottom:0px!important;margin-top:5px!important;}
#luscher-result ul, #luscher-result ul li{list-style:none!important; margin-left:0px!important;padding-left:0px!important;}

.emotional-note-section h3 {
    margin-bottom: 10px;
	margin-top: 10px!important;
	padding-top: 10px!important;
    color: #2c3e50;
}