@import url('forms.css');

/* --- Стили макета --- */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    background: #f0f2f5; 
    color: #1c1e21; 
    line-height: 1.6; 
}

.container { 
    max-width: 1200px;
    margin: 2rem auto; 
    padding: 2rem; 
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
}

/* Фон шапки */
.site-header { 
    background: #1e3685;
    color: white; 
    padding: 1.5rem 1rem;
    text-align: center; 
}
.header-inner {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px;
    margin: 0 auto;
}

/* Шрифт в шапке */
.site-header a { 
    color: white; 
    text-decoration: none; 
    font-size: 1.2rem;
    font-weight: normal;
}
.site-header nav {
    font-size: 1rem;
    font-weight: normal;
}
.site-header nav span {
     margin-right: 15px;
}

/* ✅ ИЗМЕНЕНИЕ: Селектор переименован */
.site-under-header {
    background-color: #dddddd; /* Бледно-серый фон */
    border-bottom: 1px solid #ddd; /* Тонкая граница */
    padding: 0 1rem; /* Небольшие отступы по бокам */
}
/* Стили для меню, которое будет внутри этой зоны (например) */
.site-under-header .main-menu {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.site-under-header .main-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
.site-under-header .main-menu a:hover {
    background-color: #e9e9e9;
}
/* --- КОНЕЦ ИЗМЕНЕНИЯ --- */

/* Стили подвала */
.site-footer { 
    background: #e6ebec;
    color: #535b63;
    padding: 1.5rem; 
    text-align: center; 
    margin-top: 2rem;
    border-top: 3px solid #d1d8d9;
    font-size: 0.9em;
}

/* --- Стили контента --- */
h1 { 
    color: #333; 
}
img { 
    max-width: 100%; 
    height: auto; 
}

/* ✅ НОВЫЙ БЛОК: Стили для кнопок добавления блока в макете */
.zone-add-button {
    display: inline-block;
    position: absolute; /* Позиционируем внутри .layout-preview-zone */
    top: 10px;
    right: 10px;
    
    /* Используем стили нашего .btn */
    text-decoration: none; 
    text-align: center; 
    background-color: #0074aa; 
    color: white;
    padding: 5px 10px; /* Делаем кнопку поменьше */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem; /* Шрифт поменьше */
    font-weight: bold;
    transition: background-color 0.2s;
    line-height: 1.5;
}
.zone-add-button:hover {
    background-color: #005c8a;
    color: white; 
}
.zone-add-button i {
    margin-right: 5px;
}