* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* ======== Основные стили ==================================== */
body {
    font-family: 'Segoe UI';
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #131313;
}

header {
    background-color: #1a1a1a;
    padding: 15px;
    text-align: center;
    /* box-shadow: 0 2px 4px #00000066; */
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 30px 15px;
    width: 100%;
}

footer {
    background-color: #1a1a1a;
    padding: 15px 0;
    text-align: center;
}
.footer-text {
    /* color: #aaa; */
    color: #6f6f6f;
    font-size: 15px;
    font-weight: bold;
}

/* ======== Header ==================================== */
.header-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 5px;
}


/* ======== Main ==================================== */
.search-container { /* Контейнер поиска */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    gap: 15px;
    padding: 0 15px;
}

.site-title {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    /* margin-bottom: 5px; */
}
.site-title a {
    text-decoration: none;
    color: inherit;
}

.search-form {
    display: flex;
    width: 100%;
    max-width: 600px;
    justify-content: center;
}

.search-form input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 1px solid #333;
    border-radius: 10px;
    background-color: #1e1e1e;
    color: #aaa;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-form input:focus {
    border-color: #4a4a4a;
    /* box-shadow: 0 0 8px #4a4a4a80; */
}



/* ======== Telegram Button ==================================== */
.telegram-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 6px;
    background-color: #0088cc;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    /* font-weight: bold; */
    z-index: 1000;
    font-family: 'Segoe UI';
    text-align: center;
    width: 200px;
}




/* Для мобильных устройств */
@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .search-form {
        width: 100%;
        max-width: 100%;
    }

    .search-form input {
        width: 100%;
    }

    .telegram-button {
        right: auto;
        left: 50%;
        bottom: 10px;
        transform: translateX(-50%);
    }
}