body {
    background-color: #f0f0f0;
    color: #333;
    font-family: Arial, sans-serif;
    padding: 20px;
}

input, textarea, select, button {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    margin: 5px 0;
    width: 100%;
}

button {
    background: #0078d4;
    color: white;
    cursor: pointer;
    border: none;
}

form {
    margin-bottom: 30px;
}

.error-entry {
    margin-bottom: 20px;
}

.error-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    padding: 10px 10px 10px 20px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    position: relative;
}

.error-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: #0078d4;
    border-radius: 6px 0 0 6px;
}

.error-text {
    flex: 1;
    font-size: 14px;
    color: #333;
    padding: 10px;
    border-radius: 6px 0 0 6px;
    background: transparent;
}

.tooltip-note {
    flex: 1;
    background-color: #fff8dc;
    border-left: 4px solid #ffc107;
    padding: 10px;
    font-size: 13px;
    color: #555;
    border-radius: 0 6px 6px 0;
    white-space: pre-wrap;
    font-weight: bold;
}

.tooltip-image {
    margin-top: 10px;
}

.tooltip-image img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.tooltip-image img:hover {
    transform: scale(1.02);
}

.tooltip {
    position: absolute;
    background-color: #fff;
    color: #333;
    padding: 10px;
    border-radius: 8px;
    max-width: 400px;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-size: 14px;
    line-height: 1.4;
    font-weight: bold;
}

.tooltip img {
    display: block;
    margin-top: 10px;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.preview-image {
    margin-top: 10px;
    max-width: 200px;
    display: none;
}

.home-button {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    z-index: 1000;
}

.home-button:hover {
    background-color: #45a049;
}

.content-wrapper {
    margin-top: 50px;
}

/* Модальное окно */
#imageModal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

#modalImg {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px #000;
    transition: transform 0.3s ease;
}
