/* static.css – общие стили для статических страниц */

/* Сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
}

/* Шапка (как на главной) */
.home-header {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: white;
    border-bottom: 1px solid #eaeaea;
}
.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.home-logo {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.home-logo i {
    color: #4285f4;
}
.home-nav {
    display: flex;
    gap: 15px;
}
.nav-btn {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
}
.nav-btn:hover {
    background-color: #f5f5f5;
}

/* Основной контент */
.home-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Карточка (универсальная для About и Contacts) */
.auth-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #dadce0;
    overflow: hidden;
    width: 100%;
    max-width: 600px; /* чуть шире, чем для форм */
    margin: 0 auto;
}
.auth-card-header {
    background: white;
    padding: 30px 30px 0;
    text-align: center;
}
.auth-card-title {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 10px;
    color: #1a1a1a;
}
.auth-card-body {
    padding: 30px;
}

/* Общие стили текста */
.lead {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #3c4043;
}
h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 20px 0 10px;
    color: #1a1a1a;
}
h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #1a1a1a;
}
p {
    color: #5f6368;
    line-height: 1.5;
}
a {
    color: #1a73e8;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Специфичные для About */
.list-unstyled {
    list-style: none;
    padding-left: 0;
}
.list-unstyled li {
    margin-bottom: 8px;
    color: #5f6368;
}
.list-unstyled i {
    color: #34a853;
    width: 20px;
    text-align: center;
}

/* Специфичные для Contacts */
.d-flex {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}
.d-flex i {
    font-size: 24px;
    color: #4285f4;
    min-width: 30px;
    text-align: center;
}
.btn-outline-primary {
    color: #4285f4;
    border-color: #4285f4;
}
.btn-outline-primary:hover {
    background-color: #4285f4;
    color: white;
}
.btn-outline-info {
    color: #4a76a8;
    border-color: #4a76a8;
}
.btn-outline-info:hover {
    background-color: #4a76a8;
    color: white;
}
.btn-outline-dark {
    color: #333;
    border-color: #333;
}
.btn-outline-dark:hover {
    background-color: #333;
    color: white;
}
hr {
    border: none;
    border-top: 1px solid #dadce0;
    margin: 20px 0;
}

/* Подвал (как на главной) */
.home-footer {
    height: 47px;
    background: #f2f2f2;
    border-top: 1px solid #dadce0;
    display: flex;
    align-items: center;
}
.footer-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    color: #70757a;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-link {
    color: #70757a;
    text-decoration: none;
}
.footer-link:hover {
    text-decoration: underline;
}
.copyright {
    font-size: 13px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .auth-card {
        max-width: 90%;
    }
    .auth-card-header {
        padding: 20px 20px 0;
    }
    .auth-card-body {
        padding: 20px;
    }
    .home-header {
        padding: 0 15px;
    }
    .home-main {
        padding: 15px;
    }
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .home-footer {
        height: auto;
        padding: 10px 0;
    }
}
@media (max-width: 480px) {
    .home-nav {
        gap: 10px;
    }
    .nav-btn {
        font-size: 12px;
        padding: 4px 8px;
    }
}