body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7fff9;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 600px;
    padding: 20px 0;
    margin: 0 auto;
}

.logo-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.logo {
    width: 120px;
    height: auto;
    display: inline-block;
}

/* Заголовок */
h2 {
    font-size: 32px;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #006500;
}

/* Форма */
form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

input[type="text"] {
    padding: 15px;
    font-size: 18px;
    border: 2px solid #006500;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

input[type="text"]:focus {
    border-color: #ff190d;
    box-shadow: 0 0 5px rgba(255, 25, 13, 0.4);
}

button {
    padding: 15px 25px;
    font-size: 18px;
    background-color: #006500;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #ff190d;
    transform: scale(1.05);
}

/* Результат */
.result {
    max-width: 400px;
    margin: 30px auto 0;
    background-color: #ffffff;
    border-left: 5px solid #ff190d;
    border-right: 5px solid #ff190d;
    padding: 20px;
    border-radius: 8px;
    font-size: 17px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    animation: fadeIn 0.6s ease;
    opacity: 0;
    animation-fill-mode: forwards;
    text-align: left;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Загрузка */
.loading-indicator {
    margin-top: 20px;
    font-size: 18px;
    color: #006500;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Кнопка “Проверить другой” */
.back {
    margin-top: 20px;
    text-align: center;
}

.back button {
    background-color: #006500;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 6px;
}

.back button:hover {
    background-color: #ff190d;
    transform: scale(1.05);
}

/* Информационные ссылки */
.info-links {
    margin-top: 40px;
}

.info-links p {
    margin: 10px 0;
    font-size: 15px;
}

.info-links a {
    color: #006500;
    font-weight: 600;
    text-decoration: none;
}

.info-links a:hover {
    color: #ff190d;
    text-decoration: underline;
}

/* Верхняя и нижняя полосы */
.header-line {
    width: 100%;
    height: 6px;
    position: fixed;
    left: 0;
    z-index: 999;
}

.header-line.top {
    top: 0;
    background-color: #ff190d;
}

.header-line.bottom {
    bottom: 0;
    background-color: #006500;
}

/* Адаптация */
@media (max-width: 500px) {
    h2 {
        font-size: 24px;
    }

    input[type="text"],
    button {
        width: 100%;
    }
}
