/**
 * Main CSS file for Visa theme
 */
:root {
    --wp-admin-bar-height: 0px;
}

body {
    /* Custom styles */
}

/* Учет высоты админ-бара для фиксированных элементов */
.admin-bar .header {
    top: var(--wp-admin-bar-height, 32px) !important;
}

@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: var(--wp-admin-bar-height, 46px) !important;
    }
}

body {
    /* Custom styles */
}

/* Удаляем автоматические отступы body, если они конфликтуют */
html.admin-bar body {
    margin-top: 0 !important;
}

button#add-applicant {
    margin-top: 25px;
}
.container {
    overflow: hidden;
}

/* ====== Footer ====== */
.footer {    
    color: #ccc;
    padding: 50px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer__container {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer__left {
    flex: 0 0 300px;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 15px;
}

.footer__logo img {
    max-width: 160px;
    height: auto;
}



.footer__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.footer__phone,
.footer__email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer__phone:hover,
.footer__email:hover {
    color: #4fc3f7;
}

.footer__phone svg,
.footer__email svg {
    flex-shrink: 0;
}

.footer__address {
    color: #999;
    font-size: 13px;
    text-align: right;
}

.footer__menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__menu li a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer__menu li a:hover {
    color: #fff;
}

.footer__bottom {
    padding: 20px 0;
    text-align: center;
}

.footer__copyright {
    color: #666;
    font-size: 13px;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__left {
        flex: none;
    }

    .footer__right {
        align-items: center;
    }

    .footer__contacts {
        align-items: center;
    }

    .footer__address {
        text-align: center;
    }

    .footer__menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Inline validation error messages */
.viz-inline-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #e53935;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}