/* Шапка */
header {
    backdrop-filter: blur(1px); 
    -webkit-backdrop-filter: blur(1px); /* Поддержка Safari */
    background: linear-gradient(
    to bottom, 
    rgb(255, 140, 0) 0%,   /* Насыщенный оранжевый сверху */
    rgba(255, 140, 0, 0) 100%  /* Полная прозрачность снизу */
    
  );
    color: #2A2A2A;
    padding: 70px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.0);
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    padding-top: 90px;
}

.favela-icon {
    max-width: 225px;
    border-radius: 25px;
    margin: 15px;
}

.favela-icon:hover {
    transform: translateY(-3px);
    transition: 0.3s;
    
}

.logo {
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    flex-direction: column;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #2A2A2A;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

nav ul li a i {
    margin-right: 8px;

}

nav ul li a:hover {
    color: #D35400;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    padding: 0px 15px 0px 15px;

}

.social-links > div  {
    padding-left: 20px ;
}

.social-links > div > a > i {
    color: #2A2A2A;
}


/* новый стиль для модалки*/
/* Переключатели форм */
.auth-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    color: #888;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: #ff9d00;
    border-bottom: 3px solid #ff9d00;
}

.tab-btn:hover {
    color: #333;
}

/* Общие стили для форм внутри модалки */
.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #ff9d00;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #e68e00;
}

/* Подсказки под полями */
.input-hint {
    font-size: 11px;
    margin-top: 4px;
    color: #888;
    display: block;
}

/* Состояния валидации */
.input-hint.invalid { color: #ff4444; }
.input-hint.valid { color: #00c851; }

/* Подсветка самих полей при ошибке (когда пользователь начал вводить) */
input:focus:invalid {
    border-color: #ff4444;
}
input:focus:valid {
    border-color: #00c851;
}



/*Адаптивность*/

@media (max-width: 526px) {
    .header-content  {
        font-size: 1px; 
        margin-left: -25px;
    }
    
}

@media (max-width: 526px) {
    .logo {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

}

@media (max-width: 768px) {
    .header-content {
        position: relative;
        color: #2A2A2A;
        flex-direction: row;
        text-align: center;
        justify-content: space-between
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: space-between;
        position: absolute;
        top: -50px;
        left: 230px; 
    }
    
    nav ul li {
        margin: 0 0 0 0;
    }

    nav ul li a {
        font-size: 0px;
        margin: 0px;
        padding: 10px;
}
}