body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #667eea, #764ba2);
    margin: 0;
    padding: 0;
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 900px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.container h1, .counter {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 10px 0;
    z-index: 1;
}

.results-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.result-column {
    flex: 1;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.result-column h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.container h1 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #333;
}

.counter {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 14px;
    color: #555;
}

.container textarea {
    width: calc(100% - 20px);
    height: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: none;
    outline: none;
    transition: border 0.3s;
    box-sizing: border-box;
}

.container textarea:focus {
    border-color: #667eea;
}

.container button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background-color: #667eea;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
    margin-top: 15px;
    width: 100%;
}

.container button:hover {
    background-color: #5a67d8;
}

.result {
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

.result.green {
    background: #e6ffe6;
    color: #2d862d;
    display: block;
}

.result.red {
    background: #ffe6e6;
    color: #cc0000;
    display: block;
}

.add-anyway {
    display: none;
    margin-top: 10px;
    background-color: #ff9800;
}

.add-anyway:hover {
    background-color: #e68900;
}
.similar-questions {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.similar-question-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    text-align: left;
}

.similar-question-item p {
    margin: 5px 0;
    font-size: 14px;
}

.similar-question-item .score {
    color: #667eea;
    font-weight: bold;
}

.similar-question-item .date {
    color: #6c757d;
    font-size: 12px;
}