.header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.header-gallery-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    color: #ffffff;
    background: rgba(30, 122, 100, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-gallery-link:hover {
    background: #176b57;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .header-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .header-actions .header-button {
        grid-column: auto;
        width: 100%;
    }

    .header-gallery-link,
    .header-actions #showFormButton {
        width: 100%;
        min-height: 44px;
        padding: 11px 12px;
        font-size: 15px;
        line-height: 1.15;
    }
}

@media (max-width: 380px) {
    .header-actions {
        gap: 8px;
    }

    .header-gallery-link,
    .header-actions #showFormButton {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 14px;
    }
}
