#searchtrebs {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        #searchtrebs .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        #searchtrebs header {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px 0;
            border-bottom: 1px solid #e0e0e0;
        }

        #searchtrebs h1 {
            color: #2c3e50;
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        #searchtrebs .toggle-container {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            background-color: #fff;
            border-radius: 50px;
            padding: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
        }

        #searchtrebs .toggle-btn {
            flex: 1;
            padding: 12px 20px;
            border: none;
            background-color: transparent;
            color: #555;
            font-size: 1.4rem;
            font-weight: 600;
            cursor: pointer;
            border-radius: 50px;
            transition: all 0.3s ease;
        }

        #searchtrebs .toggle-btn.active {
            background-color: #3498db;
            color: white;
        }

        #searchtrebs .content-block {
            background-color: white;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        #searchtrebs .block-title {
            font-size: 1.8rem;
            color: #2c3e50;
            margin-bottom: 20px;
            text-align: center;
        }

        #searchtrebs .search-container-trebs {
            margin-bottom: 30px;
            display: flex;
            justify-content: center;
        }

        #searchtrebs .search-input-trebs {
           width: 60%;
    padding: 15px 20px !important;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s;
    font-size: 1.5rem;
            transition: border-color 0.3s;
        }

        #searchtrebs .search-input:focus {
            border-color: #3498db;
        }

        #searchtrebs .section-title {
            font-size: 1.4rem;
            color: #2c3e50;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 600;
        }

        #searchtrebs .popular-requests {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        #searchtrebs .request-item {
            border: 1px solid #d0d0d0;
            border-radius: 8px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            background-color: #fff;
            position: relative;
        }

        #searchtrebs .request-item:hover {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-3px);
        }

        #searchtrebs .request-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #2c3e50;
            /*margin-bottom: 10px;*/
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .request-title::after {
            content: '▼';
            font-size: 1rem;
            color: #7f8c8d;
            transition: transform 0.3s;
        }

        .request-item.active .request-title::after {
            transform: rotate(180deg);
        }

        .request-item.loading .request-title::after {
            content: '⌛';
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .temples-list {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
            /*margin-top: 15px;*/
        }

        .request-item.active .temples-list {
            max-height: none; /* Убрано ограничение */
            height: auto; /* Высота по содержимому */
        }

        .temple-item {
            padding: 3px 15px;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            align-items: center;
        }

        .temple-item:last-child {
            border-bottom: none;
        }

        .temple-name {
            font-weight: 500;
            color: #3498db;
            text-decoration: none;
            font-size: 1.2em;
            transition: color 0.3s;
            line-height: 1.4;
        }

        .temple-name:hover {
            color: #2980b9;
            text-decoration: underline;
        }

        .error-message {
            color: #e74c3c;
            padding: 10px;
            text-align: center;
            font-style: italic;
        }

        #window2 {
            display: none;
        }

        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .popular-requests {
                grid-template-columns: 1fr;
            }
            
            .toggle-btn {
                padding: 10px 15px;
                font-size: 1.3rem;
            }
            
            .search-input {
                width: 80%;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 1.7rem;
            }
            
            .block-title {
                font-size: 1.5rem;
            }
            
            .content-block {
                padding: 15px;
            }
            
            .search-input {
                width: 100%;
            }
        }
		
		
        .search-message {
            padding: 20px;
            text-align: center;
            color: #666;
            font-style: italic;
			    font-size: 1.5rem;
        }
        
        /* Стили для двухколоночного отображения на десктопах */
        .popular-requests {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .request-item {
            flex: 1 1 calc(50% - 15px);
            min-width: 300px;
            margin-bottom: 15px;
        }
        
        @media (max-width: 768px) {
            .request-item {
                flex: 1 1 100%;
            }
        }